| string | __getstate__ () |
| Matrix | __neg__ () const |
| __setstate_internal (string state) |
| char * | __str__ () transforms this objects into a string, required by SWIG |
| Add (Matrix other) modifies this matrix by the matrix sum A+B |
| Add (MatrixBlock other) modifies this matrix by the matrix sum A+B |
| Matrix | AddCol (Matrix m) returns an object including new data data |
| Matrix | AddRow (Matrix m) |
| Matrix | AppendCols (Matrix m) returns an object with modified data |
| Matrix | AppendRows (Matrix m) returns an object with modified data |
| Assign (Matrix ar) The assignment operator for matrices (data only) |
| Assign (MatrixBlock ar) The assignment operator for blocks (data only) |
| MatrixBlock | Block (TUnsignedIndex row, TUnsignedIndex col, TUnsignedIndex numrows, TUnsignedIndex numcols) returns a reference to a block starting at ‘row’,‘column’ with size ‘numrows’*‘numcols’ |
| MatrixBlock | Col (TUnsignedIndex col) returns a reference to the ‘col’th column |
| TUnsignedIndex | Cols () const |
| MatrixBlock | Cols (TUnsignedIndex col1, TUnsignedIndex ncol) returns a block containing the ncol columns starting at column index col1 |
| void | ConservativeResize (TUnsignedIndex rows, TUnsignedIndex cols=1) resizes the matrix to its new dimensions without destroying the contents. |
| MatrixCWise | CW () |
| Div (TScalar other) modifies this matrix by the scalar matrix quotient A/s |
| TScalar | Dot (Matrix other) returns the scalar product of two vectors (a’b) |
| TScalar | Dot (MatrixBlock other) returns the scalar product of two vectors (a’b) |
| TScalar | Dott (Matrix other) returns the weighted scalar product of this matrix and the given vector multiplied once from left and once from right (b’Ab) |
| TScalar | Dott (MatrixBlock other) returns the weighted scalar product of this matrix and the given vector multiplied once from left and once from right (b’Ab) |
| Matrix | GetCols (TUnsignedIndex col1, TUnsignedIndex ncol=1) returns an object providing copy of data |
| Matrix | GetCols (Matrix indices) |
| Matrix | GetColsThread (TUnsignedIndex col, TUnsignedIndex ncols) |
| Matrix | GetRows (TUnsignedIndex row1, TUnsignedIndex nrow=1) |
| Matrix | GetRows (Matrix indices) |
| Matrix | GetRowsThread (TUnsignedIndex row, TUnsignedIndex nrows) |
| Matrix | InnerProduct (Matrix other) returns the inner product of two matrices/vectors (a’*b) |
| Matrix | InnerProduct (MatrixBlock other) returns the inner product of two matrices/vectors (a’*b) |
| bool | IsApprox (Matrix other, TScalar s) const returns true if other and this are approx. identical |
| bool | IsApproxToConstant (TScalar value, TScalar s) returns true if array is constant and approx. equal s |
| bool | IsDiagonal (TScalar s) returns true if array is a diagonal matrix by precision s |
| bool | IsIdentity (TScalar s) returns true if array is the identity matrix by precision s |
| bool | IsLowerTriangular (TScalar s) returns true if array is a lower triangular matrix by precision s |
| bool | IsScalar () |
| bool | IsUnitary (TScalar s) returns true if array is a unitary matrix by precision s (is an orthonormal basis) |
| bool | IsUpperTriangular (TScalar s) returns true if array is an upper triangular matrix by precision s |
| bool | IsVector () |
| bool | IsZero (TScalar s) |
| Matrix () destructor |
| Matrix (Matrix ar) copy constructor |
| Matrix (TUnsignedIndex nrow, TUnsignedIndex ncol=1) constructs a matrix and allocates nrow*ncol elements |
| Matrix (MatrixBlock x) constructs a matrix from a matrix block |
| Matrix (sparse::SparseMatrix x) copies from a sparse matrix |
| Matrix (sparse::SymSparseMatrix x) copies from a symmetric sparse matrix |
| TScalar | MaxCoeff (TEigenIndex *OUTPUT, TEigenIndex *OUTPUT) const |
| TScalar | MinCoeff (TEigenIndex *OUTPUT, TEigenIndex *OUTPUT) const find the smallest element in the array returns the minimum element in the array |
| Mul (TScalar other) modifies this matrix by the scalar matrix product A*s |
| Matrix | operator* (Matrix other) const returns the matrix product A*B |
| Matrix | operator* (MatrixBlock other) const returns the matrix product A*B |
| Matrix | operator* (TScalar other) const returns the scalar matrix product A*s |
| Matrix | operator+ (Matrix other) const returns the matrix sum A+B |
| Matrix | operator+ (MatrixBlock other) const returns the matrix sum A+B |
| Matrix | operator- (Matrix other) const returns the matrix difference A-B |
| Matrix | operator- (MatrixBlock other) const returns the matrix difference A-B |
| Matrix | operator/ (TScalar other) const returns the scalar matrix quotient A/s |
| Matrix | operator< (TScalar x) const returns a matrix of 1 and 0 indicating which element is less than x |
| Matrix | operator= (Matrix ar) copy assignment operator |
| Matrix | OuterProduct (Matrix other) returns the outer product of two matrices/vectors (a*b’) |
| Matrix | OuterProduct (MatrixBlock other) returns the outer product of two matrices/vectors (a*b’) |
| Print (string format=“%g ”, TUnsignedIndex rows=20, TUnsignedIndex cols=20) const prints the matrix up to the given rows and columns |
| Matrix | RemoveCol (TUnsignedIndex col) returns an object of corresponding smaller size |
| Matrix | RemoveRow (TUnsignedIndex row) |
| MatrixBlock | Row (TUnsignedIndex row) returns a reference to the ‘row’th row |
| TUnsignedIndex | Rows () const |
| MatrixBlock | Rows (TUnsignedIndex row1, TUnsignedIndex nrow) returns a block containing the nrow columns starting at column index row1 |
| void | SetCols (Matrix m, TUnsignedIndex col) returns an object providing copy of data |
| SetColsThread (Matrix m, TUnsignedIndex col) |
| SetConstant (TScalar value) initializes the matrix with constant values |
| void | SetIdentity () initializes the matrix as identity matrix |
| void | SetLinearCols (TScalar a, TScalar b) initializes the matrix with linear columns |
| SetLinearRows (TScalar a, TScalar b) initializes the matrix with linear rows |
| void | SetOnes () initializes the matrix with constant values “1” |
| void | SetRandom () initializes the matrix with random values |
| void | SetRows (Matrix m, TUnsignedIndex row) |
| SetRowsThread (Matrix m, TUnsignedIndex row) |
| void | SetZero () initializes the matrix with zeros |
| Sub (Matrix other) modifies this matrix by the matrix difference A-B |
| Sub (MatrixBlock other) modifies this matrix by the matrix difference A-B |
| Swap (Matrix ar) The swap operator for matrices (data only) |
| Matrix | Transpose () const |
| void | TransposeInPlace () transposes this matrix |