File for Householder transformations. More...
#include <gsl/gsl_machine.h>
#include <o2scl/err_hnd.h>
#include <o2scl/cblas.h>
#include <o2scl/permutation.h>
Go to the source code of this file.
Namespaces | |
o2scl_linalg | |
The namespace for linear algebra classes and functions. | |
Functions | |
template<class vec_t > | |
double | o2scl_linalg::householder_transform (const size_t n, vec_t &v) |
Replace the vector v with a Householder vector and a coefficient tau that annihilates v[1] through v[n-1] (inclusive) More... | |
template<class mat_t > | |
double | o2scl_linalg::householder_transform_subcol (mat_t &A, const size_t ir, const size_t ic, const size_t M) |
Compute the Householder transform of a vector formed with n rows of a column of a matrix. More... | |
template<class mat_t > | |
double | o2scl_linalg::householder_transform_subrow (mat_t &A, const size_t ir, const size_t ic, const size_t N) |
Compute the Householder transform of a vector formed with the last n columns of a row of a matrix. More... | |
template<class vec_t , class mat_t > | |
void | o2scl_linalg::householder_hm (const size_t M, const size_t N, double tau, const vec_t &v, mat_t &A) |
Apply a Householder transformation ![]() ![]() (M,N) More... | |
template<class mat_t > | |
void | o2scl_linalg::householder_hm_subcol (mat_t &M, const size_t ir, const size_t ic, const size_t nr, const size_t nc, const mat_t &M2, const size_t ir2, const size_t ic2, double tau) |
Apply a Householder transformation to the lower-right part of M when the transformation is stored in a column of M2 . More... | |
template<class mat_t > | |
void | o2scl_linalg::householder_hm_subrow (mat_t &M, const size_t ir, const size_t ic, const size_t nr, const size_t nc, const mat_t &M2, const size_t ir2, const size_t ic2, double tau) |
Apply a Householder transformation to the lower-right part of M when the transformation is stored in a row of M2 . More... | |
template<class vec_t , class vec2_t > | |
void | o2scl_linalg::householder_hv (const size_t N, double tau, const vec_t &v, vec2_t &w) |
Apply a Householder transformation v to vector w . | |
template<class mat_t , class vec_t > | |
void | o2scl_linalg::householder_hv_subcol (const mat_t &A, vec_t &w, double tau, const size_t ie, const size_t N) |
Apply a Householder transformation v to vector w where v is stored as a column in a matrix A . More... | |
template<class mat_t > | |
void | o2scl_linalg::householder_hm1 (const size_t M, const size_t N, double tau, mat_t &A) |
Apply a Householder transformation ![]() | |
template<class mat_t > | |
void | o2scl_linalg::householder_hm1_sub (const size_t M, const size_t N, double tau, mat_t &A, size_t ir, size_t ic) |
Apply a Householder transformation ![]() | |
template<class vec_t , class mat_t > | |
void | o2scl_linalg::householder_mh (const size_t M, const size_t N, double tau, const vec_t &v, mat_t &A) |
Apply the Householder transformation (v,tau) to the right-hand side of the matrix A . | |
template<class mat_t , class mat2_t > | |
void | o2scl_linalg::householder_mh_subrow (mat_t &M, const size_t ir, const size_t ic, const size_t nr, const size_t nc, const mat2_t &M2, const size_t ir2, const size_t ic2, double tau) |
Apply the Householder transformation (v,tau) to the right-hand side of the matrix A . More... | |
Definition in file householder_base.h.
Documentation generated with Doxygen. Provided under the
GNU Free Documentation License (see License Information).