Namespaces | Functions
svd_base.h File Reference

File for SVD composition. More...

Go to the source code of this file.

Namespaces

 o2scl_linalg
 The namespace for linear algebra classes and functions.
 

Functions

template<class mat_t , class mat2_t , class vec_t , class vec2_t >
void o2scl_linalg::SV_decomp (size_t M, size_t N, mat_t &A, mat2_t &V, vec_t &S, vec2_t &work)
 Factorise a general matrix into its SV decomposition using the Golub-Reinsch algorithm. More...
 
template<class mat_t , class mat2_t , class mat3_t , class vec_t , class vec2_t >
void o2scl_linalg::SV_decomp_mod (size_t M, size_t N, mat_t &A, mat2_t &X, mat3_t &V, vec_t &S, vec2_t &work)
 SV decomposition by the modified Golub-Reinsch algorithm which is better for $ M \gg N $. More...
 
template<class mat_t , class mat2_t , class vec_t , class vec2_t , class vec3_t >
void o2scl_linalg::SV_solve (size_t M, size_t N, mat_t &U, mat2_t &V, vec_t &S, vec2_t &b, vec3_t &x)
 Solve the system A x = b using the SV decomposition. More...
 
template<class mat_t , class mat2_t , class vec_t >
void o2scl_linalg::SV_decomp_jacobi (size_t M, size_t N, mat_t &A, mat2_t &Q, vec_t &S)
 SV decomposition using one-sided Jacobi orthogonalization. More...
 
template<class mat_t , class vec_t >
void o2scl_linalg::balance_columns (size_t M, size_t N, mat_t &A, vec_t &D)
 Balance a general matrix A by scaling the columns by the diagonal matrix D. More...
 

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).