|
template<class T > |
void | operator+= (TableVector< T > &left, const TableVector< T > &right) |
| Add 2 table vectors storing result in first one. More...
|
|
template<class T > |
void | operator-= (TableVector< T > &left, const TableVector< T > &right) |
| Subtract 2 table vectors storing result in first one. More...
|
|
template<class T > |
void | operator*= (TableVector< T > &left, const TableVector< T > &right) |
| Multiple 2 table vectors storing result in first one. More...
|
|
template<class T > |
void | operator/= (TableVector< T > &left, const TableVector< T > &right) |
| Divide 2 table vectors storing result in first one. More...
|
|
template<class T > |
void | operator+= (TableVector< T > &left, const T &right) |
| Add a scalar to each element in the table vector. More...
|
|
template<class T > |
void | operator-= (TableVector< T > &left, const T &right) |
| Subtract a scalar from each element in the table vector. More...
|
|
template<class T > |
void | operator*= (TableVector< T > &left, const T &right) |
| Multiple each element in the table vector with a scalar. More...
|
|
template<class T > |
void | operator/= (TableVector< T > &left, const T &right) |
| Divide each element in the table vector by a scalar. More...
|
|
template<class T > |
TableVector< T > | operator+ (const TableVector< T > &) |
| Unary plus. More...
|
|
template<class T > |
TableVector< T > | operator- (const TableVector< T > &) |
| Unary minus. More...
|
|
template<class T > |
TableVector< T > | operator+ (const TableVector< T > &left, const TableVector< T > &right) |
| Add 2 table vectors storing result in a new one. More...
|
|
template<class T > |
TableVector< T > | operator- (const TableVector< T > &left, const TableVector< T > &right) |
| Subtract 2 table vectors storing result in a new one. More...
|
|
template<class T > |
TableVector< T > | operator* (const TableVector< T > &left, const TableVector< T > &right) |
| Multiple 2 table vectors storing result in a new one. More...
|
|
template<class T > |
TableVector< T > | operator/ (const TableVector< T > &left, const TableVector< T > &right) |
| Divide 2 table vectors storing result in a new one. More...
|
|
template<class T > |
TableVector< T > | operator+ (const TableVector< T > &left, const T &right) |
| Add a scalar to each element in the table vector storing result in a new table vector. More...
|
|
template<class T > |
TableVector< T > | operator- (const TableVector< T > &left, const T &right) |
| Subtract a scalar from each element in the table vector storing result in a new table vector. More...
|
|
template<class T > |
TableVector< T > | operator* (const TableVector< T > &left, const T &right) |
| Multiple each element in the table vector with a scalar storing result in a new table vector. More...
|
|
template<class T > |
TableVector< T > | operator/ (const TableVector< T > &left, const T &right) |
| Divide each element in the table vector by a scalar storing result in a new table vector. More...
|
|
template<class T > |
TableVector< T > | operator+ (const T &left, const TableVector< T > &right) |
| Add a scalar to each element in the table vector storing result in a new table vector. More...
|
|
template<class T > |
TableVector< T > | operator- (const T &left, const TableVector< T > &right) |
| Subtract a scalar from each element in the table vector storing result in a new table vector. More...
|
|
template<class T > |
TableVector< T > | operator* (const T &left, const TableVector< T > &right) |
| Multiple each element in the table vector with a scalar storing result in a new table vector. More...
|
|
template<class T > |
TableVector< T > | operator/ (const T &left, const TableVector< T > &right) |
| Divide each element in the table vector by a scalar storing result in a new table vector. More...
|
|
Basic math for table vectors.
Intended use:
Public interface
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
Synopsis
These global functions do the basic math for table vectors. This means addition, subtraction, multiplication, division and negation. In case two table vectors are used, the left and right operand must be conformant (i.e. have equal length).
Definition at line 61 of file TabVecMath.h.