This is a matrix class of general quadratic matrices. More...
#include <fixed_square_matrix.h>
Public Member Functions | |
SquareMatrix (Noinit ini) | |
SquareMatrix (Init ini=INIT, const AT &a=0) | |
SquareMatrix (Eye ini, const AT &a=1) | |
SquareMatrix (int m, Noinit ini) | |
SquareMatrix (int m, Init ini=INIT, const AT &a=0) | |
SquareMatrix (int m, Eye ini, const AT &a=1) | |
SquareMatrix (const char *str) | |
template<class Type , class Row , class Col > | |
SquareMatrix (const Matrix< Type, Row, Col, AT > &A) | |
Copy Constructor. More... | |
template<class Row > | |
SquareMatrix (const SquareMatrix< Row, AT > &A) | |
template<class Type , class Row , class Col > | |
SquareMatrix< Fixed< M >, AT > & | operator= (const Matrix< Type, Row, Col, AT > &A) |
Copy operator. More... | |
int | size () const |
Size. More... | |
operator std::vector< std::vector< AT > > () | |
Cast to std::vector<std::vector<AT> >. More... | |
const SquareMatrix< Fixed< M > , AT > | T () const |
![]() | |
AT & | operator() (int i, int j) |
Standard constructor. More... | |
const AT & | operator() (int i, int j) const |
Element operator. More... | |
AT & | e (int i, int j) |
const AT & | e (int i, int j) const |
int | rows () const |
Number of rows. More... | |
int | cols () const |
Number of columns. More... | |
operator std::vector< std::vector< AT > > () | |
Cast to std::vector<std::vector<AT> >. More... | |
This is a matrix class of general quadratic matrices.
Template class SquareMatrix with shape type General and atomic type AT. The 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>
|
inlineexplicit |
Copy Constructor.
See SquareMatrix(const SquareMatrix<AT>&)
|
inline |
Cast to std::vector<std::vector<AT> >.
|
inline |
Copy operator.
Copies the matrix given by A.
A | The matrix to be copied. |
|
inline |
Size.