casa
$Rev:20696$
|
Vector operations on a table vector. More...
#include <TabVecMath.h>
Public Member Functions | |
template<class T > | |
T | innerProduct (const TableVector< T > &left, const TableVector< T > &right) |
The inner product of 2 table vectors. | |
template<class T > | |
T | norm (const TableVector< T > &) |
The norm of a table vector. | |
template<class T > | |
TableVector< T > | crossProduct (const TableVector< T > &left, const TableVector< T > &right) |
The cross product of 2 table vectors containing 3 elements. |
Vector operations on a table vector.
Public interface
Do vector operations on a table vector (like inner product).
Definition at line 291 of file TabVecMath.h.
TableVector<T> casa::TabVecMath_global_functions_vectorMath::crossProduct | ( | const TableVector< T > & | left, |
const TableVector< T > & | right | ||
) | [inline] |
The cross product of 2 table vectors containing 3 elements.
T casa::TabVecMath_global_functions_vectorMath::innerProduct | ( | const TableVector< T > & | left, |
const TableVector< T > & | right | ||
) | [inline] |
The inner product of 2 table vectors.
The left and right operands must be conformant (i.e. have equal length).
T casa::TabVecMath_global_functions_vectorMath::norm | ( | const TableVector< T > & | ) | [inline] |
The norm of a table vector.