|
| | Vector () |
| | Standard constructor. More...
|
| |
|
| Vector (int m, Noinit ini) |
| |
|
| Vector (int m, Init ini=INIT, const AT &a=0) |
| |
| | Vector (int m, AT *ele) |
| | Regular Constructor. More...
|
| |
| | Vector (const char *str) |
| | String Constructor. More...
|
| |
| | Vector (const Vector< Ref, AT > &x) |
| | Copy Constructor. More...
|
| |
|
template<class Row > |
| | Vector (const Vector< Row, AT > &x) |
| |
|
template<class Type , class Row , class Col > |
| | Vector (const Matrix< Type, Row, Col, AT > &x) |
| |
|
Vector< Ref, AT > & | resize () |
| |
|
Vector< Ref, AT > & | resize (int m, Noinit) |
| |
|
Vector< Ref, AT > & | resize (int m, Init ini=INIT, const AT &a=0) |
| |
| template<class Row > |
| Vector< Ref, AT > & | operator<< (const Vector< Row, AT > &x) |
| | Copy operator. More...
|
| |
| Vector< Ref, AT > & | operator>> (const Vector< Ref, AT > &x) |
| | Reference operator. More...
|
| |
|
Vector< Ref, AT > & | operator>> (const Matrix< General, Ref, Ref, AT > &A) |
| |
| Vector< Ref, AT > & | operator= (const Vector< Ref, AT > &x) |
| | Assignment operator. More...
|
| |
|
template<class Row > |
| Vector< Ref, AT > & | operator= (const Vector< Row, AT > &x) |
| |
| AT & | operator() (int i) |
| | Element operator. More...
|
| |
| const AT & | operator() (int i) const |
| | Element operator. More...
|
| |
|
iterator | begin () |
| |
|
iterator | end () |
| |
|
const_iterator | begin () const |
| |
|
const_iterator | end () const |
| |
|
const_iterator | cbegin () const noexcept |
| |
|
const_iterator | cend () const noexcept |
| |
|
AT & | er (int i) |
| |
|
const AT & | er (int i) const |
| |
|
AT & | et (int i) |
| |
|
const AT & | et (int i) const |
| |
|
AT & | e (int i) |
| |
|
const AT & | e (int i) const |
| |
| Vector< Ref, AT > & | init (const AT &val=0) |
| | Initialization. More...
|
| |
|
Vector< Ref, AT > & | init (Init, const AT &a=0) |
| |
|
Vector< Ref, AT > & | init (Noinit, const AT &a=0) |
| |
| int | size () const |
| | Size. More...
|
| |
| int | inc () const |
| | Increment. More...
|
| |
| Vector< Ref, AT > | copy () const |
| | Vector duplicating. More...
|
| |
| Vector< Ref, AT > | operator() (int i1, int i2) |
| | Subvector operator. More...
|
| |
| const Vector< Ref, AT > | operator() (int i1, int i2) const |
| | Subvector operator. More...
|
| |
| Vector< Ref, AT > | operator() (const Range< Var, Var > &I) |
| | Subvector operator. More...
|
| |
| const Vector< Ref, AT > | operator() (const Range< Var, Var > &I) const |
| | Subvector operator. More...
|
| |
| | operator std::vector< AT > () const |
| | Cast to std::vector<AT>. More...
|
| |
| | Vector (std::vector< AT > v) |
| | std::vector<AT> Constructor. Constructs and initializes a vector with a std::vector<AT> object. More...
|
| |
|
RowVector< Ref, AT > | T () |
| |
|
const RowVector< Ref, AT > | T () const |
| |
| | Matrix () |
| | Standard constructor. More...
|
| |
|
| Matrix (int m_, int n_, Noinit) |
| |
|
| Matrix (int m_, int n_, Init ini=INIT, const AT &a=0) |
| |
|
| Matrix (int m_, int n_, Eye ini, const AT &a=1) |
| |
| | Matrix (const Matrix< General, Ref, Ref, AT > &A) |
| | Copy Constructor. More...
|
| |
| | Matrix (int m_, int n_, AT *ele_) |
| | Regular Constructor. More...
|
| |
| | Matrix (const std::string &strs) |
| | String Constructor. More...
|
| |
|
| Matrix (const char *strs) |
| |
|
| ~Matrix ()=default |
| | Destructor.
|
| |
|
template<class Type , class Row , class Col > |
| | Matrix (const Matrix< Type, Row, Col, AT > &A) |
| |
|
Matrix< General, Ref, Ref, AT > & | resize () |
| |
|
Matrix< General, Ref, Ref, AT > & | resize (int m_, int n_, Noinit) |
| |
|
Matrix< General, Ref, Ref, AT > & | resize (int m, int n, Init ini=INIT, const AT &a=0) |
| |
|
Matrix< General, Ref, Ref, AT > & | resize (int m, int n, Eye ini, const AT &a=1) |
| |
| Matrix< General, Ref, Ref, AT > & | operator= (const Matrix< General, Ref, Ref, AT > &A) |
| | Assignment operator. More...
|
| |
|
template<class Type , class Row , class Col > |
| Matrix< General, Ref, Ref, AT > & | operator= (const Matrix< Type, Row, Col, AT > &A) |
| |
| template<class Type , class Row , class Col > |
| Matrix< General, Ref, Ref, AT > & | operator<< (const Matrix< Type, Row, Col, AT > &A) |
| | Copy operator. More...
|
| |
| Matrix< General, Ref, Ref, AT > & | operator>> (const Matrix< General, Ref, Ref, AT > &A) |
| | Reference operator. More...
|
| |
| AT & | operator() (int i, int j) |
| | Element operator. More...
|
| |
| const AT & | operator() (int i, int j) const |
| | Element operator. More...
|
| |
|
AT & | er (int i, int j) |
| |
|
const AT & | er (int i, int j) const |
| |
|
AT & | et (int i, int j) |
| |
|
const AT & | et (int i, int j) const |
| |
|
AT & | e (int i, int j) |
| |
|
const AT & | e (int i, int j) const |
| |
| AT * | operator() () |
| | Pointer operator. More...
|
| |
| const AT * | operator() () const |
| | Pointer operator. More...
|
| |
| int | rows () const |
| | Number of rows. More...
|
| |
| int | cols () const |
| | Number of columns. More...
|
| |
| int | ldim () const |
| | Leading dimension. More...
|
| |
| bool | transposed () const |
| | Transposed status. More...
|
| |
| const CBLAS_TRANSPOSE | blasTrans () const |
| | Transposed status. More...
|
| |
| const CBLAS_ORDER | blasOrder () const |
| | Storage convention. More...
|
| |
| Matrix< General, Ref, Ref, AT > | operator() (int i1, int j1, int i2, int j2) |
| | Submatrix operator. More...
|
| |
const Matrix< General, Ref,
Ref, AT > | operator() (int i1, int j1, int i2, int j2) const |
| | Submatrix operator. More...
|
| |
| Matrix< General, Ref, Ref, AT > | operator() (const Range< Var, Var > &I, const Range< Var, Var > &J) |
| | Submatrix operator. More...
|
| |
const Matrix< General, Ref,
Ref, AT > | operator() (const Range< Var, Var > &I, const Range< Var, Var > &J) const |
| | Submatrix operator. More...
|
| |
| SquareMatrix< Ref, AT > | operator() (const Range< Var, Var > &I) |
| | Submatrix operator. More...
|
| |
| const SquareMatrix< Ref, AT > | operator() (const Range< Var, Var > &I) const |
| | Submatrix operator. More...
|
| |
| Vector< Ref, AT > | col (int i) |
| | Column operator. More...
|
| |
| const Vector< Ref, AT > | col (int i) const |
| | Column operator. More...
|
| |
| RowVector< Ref, AT > | row (int i) |
| | Row operator. More...
|
| |
| const RowVector< Ref, AT > | row (int i) const |
| | Row operator. More...
|
| |
| Matrix< General, Ref, Ref, AT > | copy () const |
| | Matrix duplicating. More...
|
| |
| Matrix< General, Ref, Ref, AT > & | init (const AT &val=0) |
| | Initialization. More...
|
| |
|
Matrix< General, Ref, Ref, AT > & | init (Init, const AT &a=0) |
| |
|
Matrix< General, Ref, Ref, AT > & | init (Eye, const AT &val=1) |
| |
|
Matrix< General, Ref, Ref, AT > & | init (Noinit, const AT &a=0) |
| |
|
Matrix< General, Ref, Ref, AT > & | init0 (const AT &val=0) |
| |
|
Matrix< General, Ref, Ref, AT > & | init0 (Init, const AT &a=0) |
| |
| | operator std::vector< std::vector< AT > > () const |
| | Cast to std::vector<std::vector<AT> >. More...
|
| |
| | Matrix (std::vector< std::vector< AT > > m) |
| | std::vector<std::vector<AT> > Constructor. Constructs and initializes a matrix with a std::vector<std::vector<AT> > object. An assert checks for constant length of each row. More...
|
| |
|
Matrix< General, Ref, Ref, AT > | T () |
| |
const Matrix< General, Ref,
Ref, AT > | T () const |
| |
template<class AT>
class fmatvec::Vector< Ref, AT >
This is a vector class of general shape in dense storage format.
Template class Vector of type General<Ref,Ref>, id. shape is general and storage form is dense. The template parameter AT defines the atomic type of the vector. Valid types are int, float, double, complex<float> and complex<double>