|
| template<class T > |
| void | minMax (T &min, T &max, const TableVector< T > &) |
| | This sets min and max to the min and max of the vector to avoid having to do two passes with max() and min() separately.
|
| |
| template<class T > |
| T | min (const TableVector< T > &) |
| | The minimum element of the table vector.
|
| |
| template<class T > |
| T | max (const TableVector< T > &) |
| | The maximum element of the table vector.
|
| |
| template<class T > |
| void | indgen (TableVector< T > &, T start, T inc) |
| | Fills all elements of the table vector with a sequence starting with "start" and incrementing by "inc" for each element.
|
| |
| template<class T > |
| void | indgen (TableVector< T > &, T start) |
| | Fills all elements of the table vector with a sequence starting with "start" incremented by one for each position in the table vector.
|
| |
| template<class T > |
| void | indgen (TableVector< T > &) |
| | Fills all elements of the table vector with a sequence starting with 0 and ending with nelements() - 1.
|
| |
| template<class T > |
| T | sum (const TableVector< T > &) |
| | Sum of all the elements of a table vector.
|
| |
| template<class T > |
| T | product (const TableVector< T > &) |
| | Product of all the elements of a table vector.
|
| |
Miscellaneous table vector operations.
Intended use:
Public interface
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
Synopsis
Fill a table vector or calculate the sum, product, minimum or maximum of its elements.
Definition at line 229 of file TabVecMath.h.