|
Defines |
#define | EPSILON 1.0e-15 |
Functions |
template<class T > |
Array1D< T > | stl2tntVec (const vector< T > &v) |
| TNT vector = STL vector.
|
template<class T > |
vector< T > | tnt2stlVec (const Array1D< T > &v) |
| STL vector = TNT vector.
|
template<class T > |
vector< vector< T > > | tnt2stlMat (const Array2D< T > &m) |
| STL vector of vectors = TNT matrix.
|
template<class T > |
Array2D< T > | stl2tntMat (const vector< vector< T > > &m) |
| TNT matrix = STL vector of vectors.
|
template<class T > |
void | copy (Array1D< T > &A, const vector< T > &v) |
| old version of TNT vector = STL vector
|
template<class T > |
void | copy (vector< T > &A, const Array1D< T > &v) |
| old STL vector = TNT vector
|
template<class T > |
void | copy (vector< vector< T > > &A, const Array2D< T > &m) |
| old STL vector of vectors = TNT matrix
|
template<class T > |
void | copy (Array2D< T > &A, const vector< vector< T > > &m) |
| TNT matrix = STL vector of vectors.
|
template<class T > |
Array2D< T > | transpose (const Array2D< T > &A) |
| Matrix transposed.
|
template<class T > |
Array1D< T > | operator* (const Array2D< T > &A, const Array1D< T > &v) |
| Matrix * Vector.
|
template<class T > |
T | inner_prod (const Array1D< T > &A, const Array1D< T > &B) |
| Vector * Vector inner product.
|
template<class T > |
Array1D< T > | operator* (const T &x, const Array1D< T > &A) |
| T * Vector scalar product.
|
template<class T > |
Array2D< T > | operator* (const T &x, const Array2D< T > &A) |
| T * Matrix scalar product.
|
template<class T > |
Array2D< T > | uplow_block (Array2D< T > U, Array2D< T > L) |
| Makes a new Matrix with upper block U and lower block L.
|
template<class T > |
Array2D< T > | leftright_block (Array2D< T > L, Array2D< T > R) |
| Makes a new Matrix with left block L and right block R.
|
template<class T > |
Array1D< T > | uplow_block (Array1D< T > U, Array1D< T > L) |
| Makes a new Vector with upper block U and lower block L.
|
template<class T > |
Array2D< T > | svdinvert (const Array2D< T > &A) |
| Matrix inversion using the SVD.
|
template<class T > |
Array1D< T > | CovmtxToErrors (const Array2D< T > &M, const Array2D< T > &cov) |
template<class T > |
Array2D< T > | CovmtxToCovMtx (const Array2D< T > &M, const Array2D< T > &cov) |
template<class T > |
Array2D< T > | ErrorsToCovmtx (const Array2D< T > &M, const Array1D< T > &err) |
template<class T > |
Array2D< T > | makeDiag (const Array1D< T > &d) |
template<class T > |
Array2D< T > | makeDiagSquared (const Array1D< T > &d) |