|
| | Matrix () |
| | Standard constructor. More...
|
| |
|
| Matrix (int n_, int k_, Noinit) |
| |
|
| Matrix (int n_, int k_, Init ini=INIT, const AT &a=AT()) |
| |
| | Matrix (const Matrix< SymmetricSparse, Ref, Ref, AT > &A) |
| | Copy Constructor. More...
|
| |
|
| Matrix (int n_, int k_, int *I_, int *J_, Init ini=INIT, const AT &a=AT()) |
| |
|
| ~Matrix ()=default |
| | Destructor.
|
| |
|
Matrix< SymmetricSparse, Ref, Ref, AT > & | resize (int n_, int k_, Noinit) |
| |
|
Matrix< SymmetricSparse, Ref, Ref, AT > & | resize (int n, int k, Init ini=INIT, const AT &a=AT()) |
| |
|
void | resize (int n, int m) |
| | Resize a symmetric sparse matrix.
|
| |
| Matrix< SymmetricSparse, Ref, Ref, AT > & | operator= (const Matrix< SymmetricSparse, Ref, Ref, AT > &A) |
| | Assignment operator. More...
|
| |
| template<class Type , class Row , class Col > |
| Matrix< SymmetricSparse, Ref, Ref, AT > & | operator= (const Matrix< Type, Row, Col, AT > &A) |
| | Assignment operator. More...
|
| |
| Matrix< SymmetricSparse, Ref, Ref, AT > & | operator&= (Matrix< SymmetricSparse, Ref, Ref, AT > &A) |
| | Reference operator. More...
|
| |
| template<class Type , class Row , class Col > |
| Matrix< SymmetricSparse, Ref, Ref, AT > & | operator<<= (const Matrix< Type, Row, Col, AT > &A) |
| | Matrix assignment. More...
|
| |
| const AT * | operator() () const |
| | Pointer operator. More...
|
| |
| AT * | operator() () |
| | Pointer operator. More...
|
| |
|
AT & | operator() (int i, int j) |
| |
|
const AT & | operator() (int i, int j) const |
| |
|
AT & | e (int i, int j) |
| |
|
const AT & | e (int i, int j) const |
| |
|
int | pos (int i, int j) const |
| |
|
int | ldim () |
| |
| const int * | Ip () const |
| | Pointer operator. More...
|
| |
| int * | Ip () |
| | Pointer operator. More...
|
| |
| const int * | Jp () const |
| | Pointer operator. More...
|
| |
| int * | Jp () |
| | Pointer operator. More...
|
| |
| int | size () const |
| | Size. More...
|
| |
| int | rows () const |
| | Number of rows. More...
|
| |
| int | cols () const |
| | Number of columns. More...
|
| |
|
const CBLAS_ORDER | blasOrder () const |
| | Storage convention.
|
| |
| Matrix< SymmetricSparse, Ref, Ref, AT > & | init (const AT &val) |
| | Initialization. More...
|
| |
|
Matrix< SymmetricSparse, Ref, Ref, AT > & | init (Init, const AT &a=AT()) |
| |
|
Matrix< SymmetricSparse, Ref, Ref, AT > & | init (Noinit, const AT &a=AT()) |
| |
|
int | nonZeroElements () const |
| |
template<class AT>
class fmatvec::Matrix< SymmetricSparse, Ref, Ref, AT >
This is a matrix class for sparse quadratic matrices.
Template class Matrix with shape type SymmetricSparse and atomic type AT. The matrix ist stored in compressed row-wise skyline format, BUT the diagonal elements are ALWAYS stored (even if they are zero) as the FIRST entry of each row. The template parameter AT defines the atomic type of the matrix. Valid types are int, float, double, complex<float> and complex<double>