householder_base.h File Reference

File for Householder transformations. More...

#include <o2scl/err_hnd.h>
#include <o2scl/cblas.h>
#include <o2scl/permutation.h>
#include <o2scl/vec_arith.h>

Go to the source code of this file.


Detailed Description

File for Householder transformations.

Definition in file householder_base.h.


Namespaces

namespace  o2scl_linalg
 Namespace for O2scl linear algebra function templates with operator[].

Functions

template<class vec_t >
double householder_transform (const size_t n, vec_t &v)
 Replace the vector v with a householder vector and a coefficient tau that annihilates the last n-1 elements of v.
template<class mat_t >
double householder_transform_subcol (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 rows of a column of a matrix.
template<class vec_t , class mat_t >
int householder_hm (const size_t M, const size_t N, double tau, const vec_t &v, mat_t &A)
 Apply a householder transformation v,tau to matrix m.
template<class mat_t >
int householder_hm_sub (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 v, tau to submatrix of m.
template<class vec_t >
int householder_hv (const size_t N, double tau, const vec_t &v, vec_t &w)
 Apply a householder transformation v to vector w.
template<class mat_t , class vec_t >
int householder_hv_sub (const mat_t &M, vec_t &w, double tau, const size_t ie, const size_t N)
 Apply a householder transformation v to vector w.
template<class mat1_t , class mat2_t >
int householder_hm_sub2 (const size_t M, const size_t ic, double tau, const mat1_t &mv, mat2_t &A)
 Special version of householder transformation for QR_unpack().

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page