casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
casa::TVecMath_global_functions_miscellaneous Struct Reference

Miscellaneous table vector operations. More...

#include <TVecMath.h>

List of all members.

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 > &, Int start, Int inc)
 Fills all elements of the table vector with a sequence starting with "start" and incrementing by "inc" for each element.
template<class T >
tabVecRepsum (const TabVecRep< T > &)
 Sum of all the elements of a table vector.
template<class T >
tabVecRepproduct (const TabVecRep< T > &)
 Product of all the elements of a table vector.

Detailed Description

Miscellaneous table vector operations.

Intended use:

Internal

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 216 of file TVecMath.h.


Member Function Documentation

template<class T >
void casa::TVecMath_global_functions_miscellaneous::tabVecRepindgen ( TabVecRep< T > &  ,
Int  start,
Int  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 casa::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.

Product of all the elements of a table vector.


Warning: product can easily overflow;

Sum of all the elements of a table vector.


The documentation for this struct was generated from the following file: