numerics 0.1.0
Loading...
Searching...
No Matches
subspace.cpp File Reference

Implementations for num::kernel::subspace. More...

Go to the source code of this file.

Namespaces

namespace  num
 
namespace  num::kernel
 
namespace  num::kernel::subspace
 

Functions

real num::kernel::subspace::mgs_orthogonalize (const std::vector< Vector > &basis, Vector &v, std::vector< real > &h, idx k)
 Modified Gram-Schmidt: orthogonalize v against basis[0..k-1].
 
real num::kernel::subspace::mgs_orthogonalize (const Matrix &basis, idx k, Vector &v)
 Modified Gram-Schmidt: orthogonalize v against columns 0..k-1 of a column-stored basis matrix.
 
real num::kernel::subspace::arnoldi_step (const LinearOp &A, std::vector< Vector > &basis, std::vector< real > &h, idx k, Vector &scratch, real breakdown_tol=real(1e-14))
 One Arnoldi step: expand the orthonormal basis by one vector.
 

Detailed Description

Implementations for num::kernel::subspace.

Definition in file subspace.cpp.