Functions | |
Matrix | AsDiagonal (const Matrix &mat) |
Converts the vector to a matrix with the vector on its diagonal. | |
sparse::SparseMatrix | AsSparseDiagonal (const Matrix &mat) |
Converts the vector to a sparse matrix with the vector on its diagonal. | |
sparse::SymSparseMatrix | AsSymSparseDiagonal (const Matrix &mat) |
Converts the vector to a sparse matrix with the vector on its diagonal. | |
Matrix | Cos (const Matrix &a, const double &f=1.) |
returns a Matrix x with coefficientwise x=cos(a*f) | |
double | Det (const MatrixBlock &mat) |
double | Det (const Matrix &mat) |
Computes the determinant using LU. | |
Matrix | Diagonal (const sparse::SymSparseMatrix &mat) |
Matrix | Diagonal (const sparse::SparseMatrix &mat) |
Matrix | Diagonal (const MatrixBlock &mat) |
Matrix | Diagonal (const Matrix &mat) |
Extracts the diagonal of the matrix as a vector. | |
double | Dot (const Matrix &a, const sparse::SparseMatrix &b) |
double | Dot (const sparse::SparseMatrix &a, const Matrix &b) |
double | Dot (const MatrixBlock &a, const MatrixBlock &b) |
double | Dot (const Matrix &a, const MatrixBlock &b) |
double | Dot (const MatrixBlock &a, const Matrix &b) |
double | Dot (const Matrix &a, const Matrix &b) |
Computes the scalar product (regardless of orientation) s=a'b. | |
double | Dott (const sparse::SymSparseMatrix &a, const MatrixBlock &b) |
double | Dott (const sparse::SymSparseMatrix &a, const Matrix &b) |
double | Dott (const sparse::SparseMatrix &a, const MatrixBlock &b) |
double | Dott (const sparse::SparseMatrix &a, const Matrix &b) |
double | Dott (const Matrix &a, const MatrixBlock &b) |
double | Dott (const Matrix &a, const Matrix &b) |
Computes the matrix weighted scalar product s=b'ab (a=matrix, b=vector). | |
Matrix | Eigenvalues (Matrix &mat) |
Computes the (symmetric) eigenvalues. | |
Matrix | Exp (const Matrix &a, const double &f=1.) |
returns a Matrix x with coefficientwise x=exp(a*f) | |
Matrix | InnerProd (const sparse::SymSparseMatrix &a, const Matrix &b) |
Matrix | InnerProd (const Matrix &a, const sparse::SymSparseMatrix &b) |
Matrix | InnerProd (const sparse::SparseMatrix &a, const Matrix &b) |
Matrix | InnerProd (const Matrix &a, const sparse::SparseMatrix &b) |
sparse::SparseMatrix | InnerProd (const sparse::SymSparseMatrix &a, const sparse::SymSparseMatrix &b) |
sparse::SparseMatrix | InnerProd (const sparse::SparseMatrix &a, const sparse::SparseMatrix &b) |
Matrix | InnerProd (const MatrixBlock &a, const MatrixBlock &b) |
Matrix | InnerProd (const Matrix &a, const MatrixBlock &b) |
Matrix | InnerProd (const MatrixBlock &a, const Matrix &b) |
Matrix | InnerProd (const Matrix &a, const Matrix &b) |
Computes the inner matrix product x=a'b. | |
sparse::MUMPS | Inverse (sparse::SymSparseMatrix &mat) |
sparse::MUMPS | Inverse (sparse::SparseMatrix &mat) |
Matrix | Inverse (const MatrixBlock &mat) |
Matrix | Inverse (const Matrix &mat) |
Computes the inverse matrix using LU. | |
Matrix | Log (const Matrix &a, const double &f=1.) |
returns a Matrix x with coefficientwise x=log(a*f) (natural log) | |
double | Norm (const sparse::SymSparseMatrix &mat) |
double | Norm (const sparse::SparseMatrix &mat) |
double | Norm (const MatrixBlock &mat) |
double | Norm (const Matrix &mat) |
Computes the L2 norm. | |
Matrix | operator* (const MatrixBlock &a, const sparse::SymSparseMatrix &b) |
Matrix | operator* (const Matrix &a, const sparse::SymSparseMatrix &b) |
Matrix | operator* (const MatrixBlock &a, const sparse::SparseMatrix &b) |
Matrix | operator* (const Matrix &a, const sparse::SparseMatrix &b) |
matrix multiplication a*b | |
Matrix | operator+ (const sparse::SymSparseMatrix &a, const MatrixBlock &b) |
Matrix | operator+ (const sparse::SymSparseMatrix &a, const Matrix &b) |
Matrix | operator+ (const MatrixBlock &a, const sparse::SymSparseMatrix &b) |
Matrix | operator+ (const Matrix &a, const sparse::SymSparseMatrix &b) |
Matrix | operator+ (const sparse::SparseMatrix &a, const MatrixBlock &b) |
Matrix | operator+ (const sparse::SparseMatrix &a, const Matrix &b) |
Matrix | operator+ (const MatrixBlock &a, const sparse::SparseMatrix &b) |
Matrix | operator+ (const Matrix &a, const sparse::SparseMatrix &b) |
matrix sum a+b | |
Matrix | operator- (const sparse::SymSparseMatrix &a, const MatrixBlock &b) |
Matrix | operator- (const sparse::SymSparseMatrix &a, const Matrix &b) |
Matrix | operator- (const MatrixBlock &a, const sparse::SymSparseMatrix &b) |
Matrix | operator- (const Matrix &a, const sparse::SymSparseMatrix &b) |
Matrix | operator- (const sparse::SparseMatrix &a, const MatrixBlock &b) |
Matrix | operator- (const sparse::SparseMatrix &a, const Matrix &b) |
Matrix | operator- (const MatrixBlock &a, const sparse::SparseMatrix &b) |
Matrix | operator- (const Matrix &a, const sparse::SparseMatrix &b) |
matrix difference a-b | |
Matrix | OuterProd (const sparse::SymSparseMatrix &a, const Matrix &b) |
Matrix | OuterProd (const Matrix &a, const sparse::SymSparseMatrix &b) |
Matrix | OuterProd (const sparse::SparseMatrix &a, const Matrix &b) |
Matrix | OuterProd (const Matrix &a, const sparse::SparseMatrix &b) |
sparse::SparseMatrix | OuterProd (const sparse::SymSparseMatrix &a, const sparse::SymSparseMatrix &b) |
sparse::SparseMatrix | OuterProd (const sparse::SparseMatrix &a, const sparse::SparseMatrix &b) |
Matrix | OuterProd (const MatrixBlock &a, const MatrixBlock &b) |
Matrix | OuterProd (const Matrix &a, const MatrixBlock &b) |
Matrix | OuterProd (const MatrixBlock &a, const Matrix &b) |
Matrix | OuterProd (const Matrix &a, const Matrix &b) |
Computes the outer matrix product x=ab'. | |
Matrix | Pow (const Matrix &a, const double &f=1.) |
returns a Matrix x with coefficientwise x=pow(a,f) | |
Matrix | Sin (const Matrix &a, const double &f=1.) |
returns a Matrix x with coefficientwise x=sin(a*f) | |
Matrix | Solve (sparse::SymSparseMatrix &mat, const Matrix &b) |
Matrix | Solve (sparse::SparseMatrix &mat, const Matrix &b) |
Matrix | Solve (const Matrix &mat, const Matrix &b) |
Solves the system A*x=b and returns x using LU. | |
double | Sum (const sparse::SymSparseMatrix &mat) |
double | Sum (const sparse::SparseMatrix &mat) |
double | Sum (const MatrixBlock &mat) |
double | Sum (const Matrix &mat) |
Computes the sum of all coefficients. | |
double | Trace (const sparse::SymSparseMatrix &mat) |
double | Trace (const sparse::SparseMatrix &mat) |
double | Trace (const MatrixBlock &mat) |
double | Trace (const Matrix &mat) |
returns the trace of the matrix |
encapsulates external functions for linalg objects