#include <matrixFD.h>
Inheritance diagram for MatrixFD:
Public Methods | |
constructors and destructor | |
MatrixFD () | |
default constructor. | |
MatrixFD (const int nr, const int nc=1, const double value=0.0) | |
standard constructor. | |
MatrixFD (const MatrixC<double>& B) | |
copy constructor. | |
~MatrixFD () | |
virtual destructor. | |
MatrixFD& | operator= (const double value) |
assignment with a constant value. | |
copy of rows and columns | |
VectorD | column (const int j) const |
create VectorD from column of this Matrix. | |
VectorD | row (const int i) const |
create VectorD from row of this Matrix. | |
MatrixFD low level algebraic methods | |
MatrixFD | transpose () const |
return transposed Matrix. | |
void | multiply (const MatrixFD& A, const MatrixFD& B, const char TRANSA='N', const char TRANSB='N', const double ALPHA=1.0, const double BETA=0.0) |
multiplication this=alpha*op(A)*op(B)+beta*this, BLAS level 3, DGEMM. | |
void | multiply (const double value) |
multiply this matrix with a constant value. | |
void | multiply (const MatrixSD& A, const MatrixFD& B, const double ALPHA=1.0, const double BETA=0.0) |
multiplication this=alpha*A*B+beta*this, BLAS level 2, DSPMV. | |
void | multiply (const MatrixBD& A, const MatrixFD& B, const double ALPHA=1.0, const double BETA=0.0) |
multiplication this=alpha*A*B+beta*this, BLAS level 2, DSBMV. | |
void | multiply (const VectorD& x, VectorD& y, const char TRANS='N', const double ALPHA=1.0, const double BETA=0.0) const |
multiplication y=alpha*op(this)*x+beta*y, BLAS level 2. | |
void | LUdecompose (int* IPIV) |
LU decomposition of a quadratic matrix. More... | |
void | LUsubstitute (MatrixC<double>& B, int* IPIV) |
solve triangular system by backsubstitution. More... | |
void | LUsolve (MatrixC<double>& B) |
solve linear equation system. | |
void | LUinvert () |
inversion of a general quadratic matrix. | |
void | CHdecompose () |
Cholesky CTC decomposition of a symmetric positive definite matrix. | |
void | CHsubstitute (MatrixC<double>& B) |
solve triangular Cholesky system by backsubstitution. | |
void | CHsolve (MatrixC<double>& B) |
solve linear equation system with a symmetric positive definite matrix. | |
void | CHinvert () |
inversion of a symmetric positive definite matrix. |
MatrixFD is a rectangular double Matrix with full storage of all elements. It inherits from MatrixC<double> and therefore only constructors and assignment operators have to be defined. Then we are ready for fine tuning, i.e. overloading of all algebraic methods used by the operators to make things fast.
|
default constructor.
|
|
standard constructor.
|
|
copy constructor.
|
|
virtual destructor.
|
|
assignment with a constant value.
|
|
create VectorD from column of this Matrix.
|
|
create VectorD from row of this Matrix.
|
|
return transposed Matrix.
Reimplemented from MatrixC. |
|
multiplication this=alpha*op(A)*op(B)+beta*this, BLAS level 3, DGEMM.
|
|
multiply this matrix with a constant value.
|
|
multiplication this=alpha*A*B+beta*this, BLAS level 2, DSPMV.
|
|
multiplication this=alpha*A*B+beta*this, BLAS level 2, DSBMV.
|
|
multiplication y=alpha*op(this)*x+beta*y, BLAS level 2.
|
|
LU decomposition of a quadratic matrix.
|
|
solve triangular system by backsubstitution.
|
|
solve linear equation system.
|
|
inversion of a general quadratic matrix.
|
|
Cholesky CTC decomposition of a symmetric positive definite matrix.
|
|
solve triangular Cholesky system by backsubstitution.
|
|
solve linear equation system with a symmetric positive definite matrix.
|
|
inversion of a symmetric positive definite matrix.
|