|
| Index | Nrows () const |
| |
| Index | Ncols () const |
| |
| void | resize (Index, Index) |
| |
| const T & | element (Index i, Index j) const |
| |
| void | set (Index i, Index j, const T &v) |
| |
| void | add (Index i, Index j, const T &v) |
| |
| void | operator= (const type::Mat< BSIZE, BSIZE, Real > &v) |
| |
| type::Mat< BSIZE, BSIZE, Real > | operator- () const |
| |
| type::Mat< BSIZE, BSIZE, Real > | operator- (const type::Mat< BSIZE, BSIZE, Real > &m) const |
| |
| type::Vec< BSIZE, Real > | operator* (const type::Vec< BSIZE, Real > &v) |
| |
| type::Mat< BSIZE, BSIZE, Real > | operator* (const type::Mat< BSIZE, BSIZE, Real > &m) |
| |
| type::Mat< BSIZE, BSIZE, Real > | operator* (const Block &m) |
| |
| type::Mat< BSIZE, BSIZE, Real > | operator* (const TransposedBlock &mt) |
| |
| TransposedBlock | t () const |
| |
| Block | i () const |
| |
| constexpr | Mat () noexcept=default |
| |
| constexpr | Mat (NoInit) noexcept |
| |
| constexpr | Mat (std::initializer_list< Real > &&scalars) noexcept |
| |
| constexpr | Mat (std::initializer_list< std::initializer_list< Real >> &&rows) noexcept |
| |
| constexpr | Mat (ArgsT &&... r) noexcept |
| |
| constexpr | Mat (const Real &v) noexcept |
| | Constructor from an element. More...
|
| |
| constexpr | Mat (const Mat< L, C, real2 > &m) noexcept |
| | Constructor from another matrix. More...
|
| |
| constexpr | Mat (const Mat< L2, C2, real2 > &m) noexcept |
| | Constructor from another matrix with different size (with null default entries and ignoring outside entries) More...
|
| |
| constexpr | Mat (const real2 *p) noexcept |
| | Constructor from an array of elements (stored per line). More...
|
| |
| constexpr Size | getNbLines () const |
| | number of lines More...
|
| |
| constexpr Size | getNbCols () const |
| | number of columns More...
|
| |
| constexpr void | operator= (const Real *p) noexcept |
| | Assignment from an array of elements (stored per line). More...
|
| |
| constexpr void | operator= (const Mat< L, C, real2 > &m) noexcept |
| | Assignment from another matrix. More...
|
| |
| constexpr void | operator= (const Mat< L2, C2, Real > &m) noexcept |
| | Assignment from a matrix of different size. More...
|
| |
| constexpr void | getsub (Size L0, Size C0, Mat< L2, C2, Real > &m) const noexcept |
| |
| constexpr void | getsub (const Size L0, const Size C0, Vec< C2, Real > &m) const noexcept |
| |
| constexpr void | getsub (Size L0, Size C0, Real &m) const noexcept |
| |
| constexpr void | setsub (Size L0, Size C0, const Mat< L2, C2, Real > &m) noexcept |
| |
| constexpr void | setsub (Size L0, Size C0, const Vec< L2, Real > &v) noexcept |
| |
| constexpr void | clear () noexcept |
| | Sets each element to 0. More...
|
| |
| constexpr void | fill (Real r) noexcept |
| | Sets each element to r. More...
|
| |
| constexpr const Line & | line (Size i) const noexcept |
| | Read-only access to line i. More...
|
| |
| constexpr Col | col (Size j) const noexcept |
| | Copy of column j. More...
|
| |
| constexpr LineNoInit & | operator[] (Size i) noexcept |
| | Write access to line i. More...
|
| |
| constexpr const LineNoInit & | operator[] (Size i) const noexcept |
| | Read-only access to line i. More...
|
| |
| constexpr LineNoInit & | operator() (Size i) noexcept |
| | Write access to line i. More...
|
| |
| constexpr const LineNoInit & | operator() (Size i) const noexcept |
| | Read-only access to line i. More...
|
| |
| constexpr Real & | operator() (Size i, Size j) noexcept |
| | Write access to element (i,j). More...
|
| |
| constexpr const Real & | operator() (Size i, Size j) const noexcept |
| | Read-only access to element (i,j). More...
|
| |
| constexpr const Line * | lptr () const noexcept |
| | Cast into a standard C array of lines (read-only). More...
|
| |
| constexpr Line * | lptr () noexcept |
| | Cast into a standard C array of lines. More...
|
| |
| constexpr const Real * | ptr () const noexcept |
| | Cast into a standard C array of elements (stored per line) (read-only). More...
|
| |
| constexpr Real * | ptr () noexcept |
| | Cast into a standard C array of elements (stored per line). More...
|
| |
| constexpr Line & | x () noexcept |
| | Special access to first line. More...
|
| |
| constexpr const Line & | x () const noexcept |
| | Special access to first line (read-only). More...
|
| |
| constexpr Line & | y () noexcept |
| | Special access to second line. More...
|
| |
| constexpr const Line & | y () const noexcept |
| | Special access to second line (read-only). More...
|
| |
| constexpr Line & | z () noexcept |
| | Special access to third line. More...
|
| |
| constexpr const Line & | z () const noexcept |
| | Special access to third line (read-only). More...
|
| |
| constexpr Line & | w () noexcept |
| | Special access to fourth line. More...
|
| |
| constexpr const Line & | w () const noexcept |
| | Special access to fourth line (read-only). More...
|
| |
| constexpr Real | toReal () const |
| |
| constexpr | operator Real () const |
| |
| constexpr void | identity () noexcept |
| | Set matrix to identity. More...
|
| |
| constexpr void | transpose (const Mat< C, L, Real > &m) noexcept |
| | Set matrix as the transpose of m. More...
|
| |
| constexpr void | transpose () noexcept |
| | Transpose the square matrix. More...
|
| |
| constexpr Mat< C, L, Real > | transposed () const noexcept |
| | Return the transpose of m. More...
|
| |
| constexpr Mat< L, C, Real > | operator+ (const Mat< L, C, Real > &m) const noexcept |
| | Matrix addition operator. More...
|
| |
| constexpr Mat< L, C, Real > | operator- (const Mat< L, C, Real > &m) const noexcept |
| | Matrix subtraction operator. More...
|
| |
| constexpr Mat< L, C, Real > | operator- () const noexcept |
| | Matrix negation operator. More...
|
| |
| constexpr Col | operator* (const Line &v) const noexcept |
| | Multiplication operator Matrix * Line. More...
|
| |
| constexpr Mat< L, C, Real > | operator* (Real f) const noexcept |
| | Scalar multiplication operator. More...
|
| |
| constexpr Mat< L, C, Real > | multDiagonal (const Line &d) const noexcept |
| | Multiplication with a diagonal Matrix CxC represented as a vector of size C. More...
|
| |
| constexpr Line | multTranspose (const Col &v) const noexcept |
| | Multiplication of the transposed Matrix * Column. More...
|
| |
| constexpr Mat< C, P, Real > | multTranspose (const Mat< L, P, Real > &m) const noexcept |
| |
| constexpr Mat< L, P, Real > | multTransposed (const Mat< P, C, Real > &m) const noexcept |
| | Multiplication with the transposed of the given matrix operator. More...
|
| |
| constexpr Mat< L, C, Real > | plusTransposed (const Mat< C, L, Real > &m) const noexcept |
| | Addition with the transposed of the given matrix operator. More...
|
| |
| constexpr Mat< L, C, Real > | minusTransposed (const Mat< C, L, Real > &m) const noexcept |
| | Subtraction with the transposed of the given matrix operator. More...
|
| |
| constexpr Mat< L, C, Real > | operator/ (Real f) const |
| | Scalar division operator. More...
|
| |
| constexpr void | operator*= (Real r) noexcept |
| | Scalar multiplication assignment operator. More...
|
| |
| constexpr void | operator/= (Real r) |
| | Scalar division assignment operator. More...
|
| |
| constexpr void | operator+= (const Mat< L, C, Real > &m) noexcept |
| | Addition assignment operator. More...
|
| |
| constexpr void | addTransposed (const Mat< C, L, Real > &m) noexcept |
| | Addition of the transposed of m. More...
|
| |
| constexpr void | subTransposed (const Mat< C, L, Real > &m) noexcept |
| | Subtraction of the transposed of m. More...
|
| |
| constexpr void | operator-= (const Mat< L, C, Real > &m) noexcept |
| | Subtraction assignment operator. More...
|
| |
| constexpr Mat< L, C, Real > | inverted () const |
| | invert this More...
|
| |
| constexpr bool | invert (const Mat< L, C, Real > &m) |
| | Invert square matrix m. More...
|
| |
| constexpr bool | isTransform () const |
| |
| constexpr Vec< C-1, Real > | transform (const Vec< C-1, Real > &v) const noexcept |
| | Multiplication operator Matrix * Vector considering the matrix as a transformation. More...
|
| |
| constexpr bool | transformInvert (const Mat< L, C, Real > &m) |
| | Invert transformation matrix m. More...
|
| |
| constexpr void | symmetrize () noexcept |
| |
| constexpr const Real * | data () const noexcept |
| |
| constexpr ArrayLineType::iterator | begin () noexcept |
| |
| constexpr ArrayLineType::const_iterator | begin () const noexcept |
| |
| constexpr ArrayLineType::iterator | end () noexcept |
| |
| constexpr ArrayLineType::const_iterator | end () const noexcept |
| |
| constexpr reference | front () |
| |
| constexpr const_reference | front () const |
| |
| constexpr reference | back () |
| |
| constexpr const_reference | back () const |
| |
| constexpr bool | operator== (const Mat< L, C, Real > &b) const noexcept |
| |
| constexpr bool | operator!= (const Mat< L, C, Real > &b) const noexcept |
| |
| bool | isSymmetric () const |
| |
| bool | isDiagonal () const noexcept |
| |