IsoEx
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
Classes | Functions
IsoEx::Math Namespace Reference

Classes

class  MatrixT
 
class  VectorT
 

Functions

double dsqr (double a)
 
double dmax (double a, double b)
 
int imin (int a, int b)
 
double sign (double a, double b)
 
double dpythag (double a, double b)
 
template<typename MAT_MxN , typename VEC_N , typename MAT_NxN >
bool svd_decomp (MAT_MxN &A, VEC_N &S, MAT_NxN &V)
 
template<typename MAT_MxN , typename VEC_N , typename MAT_NxN , typename VEC_M >
void svd_backsub (const MAT_MxN &A, const VEC_M &S, const MAT_NxN &V, const VEC_M &b, VEC_N &x)
 
template<typename MAT_MxN , typename VEC_M , typename MAT_NxN >
bool svd_decomp (MAT_MxN &A, VEC_M &S, MAT_NxN &V)
 

Detailed Description

Contains some vector/matrix classes.

Function Documentation

template<typename MAT_MxN , typename VEC_N , typename MAT_NxN , typename VEC_M >
void IsoEx::Math::svd_backsub ( const MAT_MxN &  A,
const VEC_M &  S,
const MAT_NxN &  V,
const VEC_M &  b,
VEC_N &  x 
)

SVD backsubstitution. This is the implementation described in Numerical Recipies.

template<typename MAT_MxN , typename VEC_M , typename MAT_NxN >
bool IsoEx::Math::svd_decomp ( MAT_MxN &  A,
VEC_M &  S,
MAT_NxN &  V 
)

Computes the SVD of A into U*S*V^T. A will be destroyed! The diagonal matrix S is stored as a Nx1 vector. This is the implementation described in Numerical Recipies.