given a square matrix A, provide A-lambda*I as a matrix More...
#include <shifted_matrix.h>
Public Types | |
typedef MATRIX::size_type | size_type |
Public Member Functions | |
ShiftedMatrix (const MATRIX &A, const double lambda=0) | |
(default) constructor | |
void | set_lambda (const double lambda) |
set spectral parameter | |
const size_type | row_dimension () const |
row dimension | |
const size_type | column_dimension () const |
column dimension | |
template<class VECTOR > | |
void | apply (const VECTOR &x, VECTOR &result) const |
apply A-lambda*I | |
template<class VECTOR > | |
void | apply_transposed (const VECTOR &x, VECTOR &result) const |
apply (A-lambda*I)^T = A^T-lambda*I |
given a square matrix A, provide A-lambda*I as a matrix
typedef MATRIX::size_type MathTL::ShiftedMatrix< MATRIX >::size_type |
size type