| 
    casacore
    
   | 
 
Miscellaneous table vector operations. More...
#include <TVecMath.h>
Public Member Functions | |
| template<class T > | |
| void | tabVecRepminmax (T &min, T &max, const TabVecRep< T > &) | 
| Determine minimum and maximum value in a table vector.   | |
| template<class T > | |
| void | tabVecRepindgen (TabVecRep< 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 > | |
| T | tabVecRepsum (const TabVecRep< T > &) | 
| Sum of all the elements of a table vector.   | |
| template<class T > | |
| T | tabVecRepproduct (const TabVecRep< T > &) | 
| Product of all the elements of a table vector.   | |
Miscellaneous table vector operations.
Internal
Fill a table vector or calculate the sum, product, minimum or maximum of its elements.
Definition at line 214 of file TVecMath.h.
| void casacore::TVecMath_global_functions_miscellaneous::tabVecRepindgen | ( | TabVecRep< 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.
| void casacore::TVecMath_global_functions_miscellaneous::tabVecRepminmax | ( | T & | min, | 
| T & | max, | ||
| const TabVecRep< T > & | |||
| ) | 
Determine minimum and maximum value in a table vector.
Requires that the type "T" has comparison operators.
| T casacore::TVecMath_global_functions_miscellaneous::tabVecRepproduct | ( | const TabVecRep< T > & | ) | 
Product of all the elements of a table vector.
Warning: product can easily overflow; 
 
| T casacore::TVecMath_global_functions_miscellaneous::tabVecRepsum | ( | const TabVecRep< T > & | ) | 
Sum of all the elements of a table vector.