|
| SquareMatrix ()=default |
|
| SquareMatrix (const Type data_[M][M]) |
|
| SquareMatrix (const Type data_[M *M]) |
|
| SquareMatrix (const Matrix< Type, M, M > &other) |
|
template<size_t P, size_t Q> |
| SquareMatrix (const Slice< Type, M, M, P, Q > &in_slice) |
|
SquareMatrix< Type, M > & | operator= (const Matrix< Type, M, M > &other) |
|
template<size_t P, size_t Q> |
SquareMatrix< Type, M > & | operator= (const Slice< Type, M, M, P, Q > &in_slice) |
|
SquareMatrix< Type, M > | I () const |
|
bool | I (SquareMatrix< Type, M > &i) const |
|
Vector< Type, M > | diag () const |
|
Vector< Type, M *(M+1)/2 > | upper_right_triangle () const |
|
Type | trace () const |
|
| Matrix ()=default |
|
| Matrix (const Type data_[M *N]) |
|
| Matrix (const Type data_[M][N]) |
|
| Matrix (const Matrix &other) |
|
| Matrix (const Slice< Type, M, N, P, Q > &in_slice) |
|
Type | operator() (size_t i, size_t j) const |
| Accessors/ Assignment etc. More...
|
|
Type & | operator() (size_t i, size_t j) |
|
Matrix< Type, M, N > & | operator= (const Matrix< Type, M, N > &other) |
|
void | copyTo (Type dst[M *N]) const |
|
void | copyToColumnMajor (Type dst[M *N]) const |
|
Matrix< Type, M, P > | operator* (const Matrix< Type, N, P > &other) const |
| Matrix Operations. More...
|
|
Matrix< Type, M, N > | operator* (Type scalar) const |
| Scalar Operations. More...
|
|
Matrix< Type, M, N > | emult (const Matrix< Type, M, N > &other) const |
|
Matrix< Type, M, N > | edivide (const Matrix< Type, M, N > &other) const |
|
Matrix< Type, M, N > | operator+ (const Matrix< Type, M, N > &other) const |
|
Matrix< Type, M, N > | operator+ (Type scalar) const |
|
Matrix< Type, M, N > | operator- (const Matrix< Type, M, N > &other) const |
|
Matrix< Type, M, N > | operator- () const |
|
Matrix< Type, M, N > | operator- (Type scalar) const |
|
void | operator+= (const Matrix< Type, M, N > &other) |
|
void | operator+= (Type scalar) |
|
void | operator-= (const Matrix< Type, M, N > &other) |
|
void | operator-= (Type scalar) |
|
void | operator*= (const Matrix< Type, N, P > &other) |
|
void | operator*= (Type scalar) |
|
Matrix< Type, M, N > | operator/ (Type scalar) const |
|
void | operator/= (Type scalar) |
|
bool | operator== (const Matrix< Type, M, N > &other) const |
|
bool | operator!= (const Matrix< Type, M, N > &other) const |
|
void | write_string (char *buf, size_t n) const |
| Misc. More...
|
|
void | print (FILE *stream=stdout) const |
|
Matrix< Type, N, M > | transpose () const |
|
Matrix< Type, N, M > | T () const |
|
const Slice< Type, P, Q, M, N > | slice (size_t x0, size_t y0) const |
|
Slice< Type, P, Q, M, N > | slice (size_t x0, size_t y0) |
|
const Slice< Type, 1, N, M, N > | row (size_t i) const |
|
Slice< Type, 1, N, M, N > | row (size_t i) |
|
const Slice< Type, M, 1, M, N > | col (size_t j) const |
|
Slice< Type, M, 1, M, N > | col (size_t j) |
|
void | setRow (size_t i, const Matrix< Type, N, 1 > &row_in) |
|
void | setCol (size_t j, const Matrix< Type, M, 1 > &column) |
|
void | setZero () |
|
void | zero () |
|
void | setAll (Type val) |
|
void | setOne () |
|
void | setNaN () |
|
void | setIdentity () |
|
void | identity () |
|
void | swapRows (size_t a, size_t b) |
|
void | swapCols (size_t a, size_t b) |
|
Matrix< Type, M, N > | abs () const |
|
Type | max () const |
|
Type | min () const |
|
bool | isAllNan () const |
|
template<typename Type, size_t M>
class matrix::SquareMatrix< Type, M >
Definition at line 26 of file SquareMatrix.hpp.