|
| | DEFINE_TYPE_ALIAS (T, value_type) |
| |
| | Matrix () |
| |
| | Matrix (T initValue) |
| |
| | Matrix (const Matrix &other) |
| |
| | Matrix (const TensorND< T, Rows, Cols > &baseTensor) |
| |
| | Matrix (Matrix &&other) noexcept |
| |
| | Matrix (TensorND< T, Rows, Cols > &&baseTensor) noexcept |
| |
| | Matrix (T(&initList)[Rows][Cols]) |
| |
| TensorND< T, Rows, Cols > | toTensor (void) const |
| |
| Matrix & | operator= (const Matrix &other) |
| |
| Matrix & | operator= (T(&initList)[Rows][Cols]) |
| |
| template<my_size_t Rows1, my_size_t Cols1> |
| Matrix | operator+ (const Matrix< T, Rows1, Cols1 > &other) const |
| |
| Matrix | operator+ (const T scalar) const |
| |
| template<my_size_t Rows1, my_size_t Cols1> |
| Matrix | operator- (const Matrix< T, Rows1, Cols1 > &other) const |
| |
| Matrix | operator- (const T scalar) const |
| |
| Matrix | operator- (void) const |
| |
| template<my_size_t Rows1, my_size_t Cols1> |
| Matrix | operator* (const Matrix< T, Rows1, Cols1 > &other) const |
| |
| Matrix | operator* (const T scalar) const |
| |
| template<my_size_t Rows1, my_size_t Cols1> |
| Matrix | operator/ (const Matrix< T, Rows1, Cols1 > &other) const |
| |
| Matrix | operator/ (const T scalar) const |
| |
| Matrix | transposed (void) const |
| |
| void | inplace_transpose (void) |
| |
| Matrix & | setToZero (void) |
| |
| Matrix & | setHomogen (T _val) |
| |
| Matrix & | setRandom (my_size_t _maxRand, my_size_t _minRand) |
| |
| Matrix & | setDiagonal (T _val) |
| |
| Matrix & | setIdentity (void) |
| |
| Matrix & | setSequencial (void) |
| |
| bool | isIdentity (void) const |
| |
| bool | isSymmetric (void) const |
| |
| bool | isUpperTriangular (void) const |
| |
| bool | isLowerTriangular (void) const |
| |
| Matrix | upperTriangular (bool inplace=false) |
| |
| Matrix | lowerTriangular (bool inplace=false) |
| |
| Matrix | inverse (void) const |
| |
| Matrix | inverse_c (void) const |
| |
| bool | isOrthogonal (void) |
| |
| matrix_traits::Definiteness | isPositiveDefinite () const |
| |
| | TensorND () |
| |
| | TensorND (T initValue) |
| |
| | TensorND (const TensorND &other) |
| |
| | TensorND (TensorND &&other) noexcept |
| |
| T & | operator() (Indices... indices) |
| |
| const T & | operator() (Indices... indices) const |
| |
| T & | operator() (my_size_t(&indices)[length]) |
| |
| const T & | operator() (my_size_t(&indices)[length]) const |
| |
| bool | operator== (const TensorND< T, Dims1... > &other) const |
| |
| bool | operator!= (const TensorND< T, Dims1... > &other) const |
| |
| TensorND & | operator= (const TensorND &other) |
| |
| TensorND | operator+ (const T scalar) const |
| |
| TensorND | operator+ (const TensorND< T, Dims1... > &other) const |
| |
| TensorND | operator- (const T scalar) const |
| |
| TensorND | operator- (void) const |
| |
| TensorND | operator- (const TensorND< T, Dims1... > &other) const |
| |
| TensorND | operator* (const T scalar) const |
| |
| TensorND | operator* (const TensorND< T, Dims1... > &other) const |
| |
| TensorND | operator/ (const T scalar) const |
| |
| TensorND | operator/ (const TensorND< T, Dims1... > &other) const |
| |
| constexpr bool | areDimsEqual () const |
| |
| bool | isIdentity () const |
| |
| TensorND | transposed (const my_size_t order[sizeof...(Dims)]) const |
| |
| TensorND | transposed (void) const |
| |
| void | inplace_transpose (const my_size_t order[sizeof...(Dims)]) |
| |
| void | inplace_transpose (void) |
| |
| constexpr my_size_t | getTotalSize () const |
| |
| constexpr my_size_t | getNumDims () const |
| |
| std::string | getShape () const |
| |
| TensorND & | setToZero (void) |
| |
| TensorND & | setHomogen (T _val) |
| |
| TensorND & | setRandom (my_size_t _maxRand, my_size_t _minRand) |
| |
| TensorND & | setDiagonal (T _val) |
| |
| TensorND & | setIdentity (void) |
| |
| TensorND & | setSequencial (void) |
| |
| void | getDiagonalEntries (TensorND< T, DiagonalSize, 1 > &diagonalEntries) const |
| |
| void | print () const |
| |
| my_size_t | getDim (my_size_t i) const |
| |
|
| static constexpr Matrix | fromTensor (TensorND< T, Rows, Cols > &&tensor) |
| |
| template<my_size_t Common, my_size_t mat1_rows, my_size_t mat2_cols> |
| static Matrix< T, Rows, Cols > | matmul (const Matrix< T, mat1_rows, Common > &mat1, const Matrix< T, Common, mat2_cols > &mat2) |
| |
| static TensorND | I (void) |
| |
| static TensorND | einsum (const TensorND< T, Dims1... > &_tensor1, const TensorND< T, Dims2... > &_tensor2, my_size_t a, my_size_t b) |
| |