#include "Array2D.h"
#include "math.h"
Go to the source code of this file.
Functions | |
template<typename T> | |
T | SignOfNeg (T a, T b) |
This has been modified to use Array2D. | |
template<typename T> | |
T | HYPOT (T a, T b) |
template<typename T> | |
int | _SVDecompose (Array2D< T > &A, Array1D< T > &W, Array2D< T > &V, int maxiter) |
template<typename T> | |
int | _SVDFwBackSubst (const Array2D< T > &U, const Array1D< T > &W, const Array2D< T > &V, Array2D< T > &inv) |
int | SVDecompose (Array2D< double > &a, Array1D< double > &w, Array2D< double > &v, int maxiter) |
int | SVDecompose (Array2D< float > &a, Array1D< float > &w, Array2D< float > &v, int maxiter) |
int | SVDFwBackSubst (const Array2D< double > &u, const Array1D< double > &w, const Array2D< double > &v, Array2D< double > &inv) |
int | SVDFwBackSubst (const Array2D< float > &u, const Array1D< float > &w, const Array2D< float > &v, Array2D< float > &inv) |
int _SVDecompose | ( | Array2D< T > & | A, | |
Array1D< T > & | W, | |||
Array2D< T > & | V, | |||
int | maxiter | |||
) | [inline] |
Definition at line 42 of file svdcmp.cpp.
References Array2D< T >::dim1(), Array2D< T >::dim2(), HYPOT(), and SignOfNeg().
Referenced by SVDecompose().
int _SVDFwBackSubst | ( | const Array2D< T > & | U, | |
const Array1D< T > & | W, | |||
const Array2D< T > & | V, | |||
Array2D< T > & | inv | |||
) | [inline] |
Definition at line 296 of file svdcmp.cpp.
References Array2D< T >::dim1(), Array2D< T >::dim2(), Array2D< T >::gemm(), Array2D< T >::get(), and Array1D< T >::get().
Referenced by SVDFwBackSubst().
T HYPOT | ( | T | a, | |
T | b | |||
) | [inline] |
T SignOfNeg | ( | T | a, | |
T | b | |||
) | [inline] |
This has been modified to use Array2D.
Definition at line 31 of file svdcmp.h.
Referenced by _SVDecompose().