#include <mat.hpp>
|
| T & | operator() (int i, int j) |
| |
| const T & | operator() (int i, int j) const |
| |
| template<int RHSRows, int RHSCols> |
| Mat< T, Rows, RHSCols > | operator* (const Mat< T, RHSRows, RHSCols > &rhs) const |
| |
| Vec< T, Rows > | operator* (const Vec< T, Cols > &vec) const |
| |
| Mat | operator* (const T &scalar) const |
| |
| Mat & | operator+= (const Mat &mat) |
| |
| Mat | operator+ (const Mat &mat) |
| |
| Mat & | operator= (const Mat &mat) |
| |
| constexpr Mat< T, Cols, Rows > | transposed () const |
| |
| void | fill (const T value) |
| |
| Mat & | hadamard_product (const Mat &mat) |
| |
| T | double_contract (const Mat &mat) |
| |
| constexpr T | det () const |
| |
| constexpr Mat | inv () const |
| |
| constexpr Mat | inv_transposed () const |
| |
| constexpr Mat | inv_transposed (const T &det) const |
| |
| constexpr Mat | diagonal () const |
| |
|
| static constexpr Mat | from_row_vecs (const Vec< T, Cols > &row0, const Vec< T, Cols > &row1, const Vec< T, Cols > &row2) |
| |
| static constexpr Mat | from_col_vecs (const Vec< T, Rows > &col0, const Vec< T, Rows > &col1) |
| |
| static constexpr Mat | from_col_vecs (const Vec< T, Rows > &col0, const Vec< T, Rows > &col1, const Vec< T, Rows > &col2) |
| |
| static constexpr Mat | from_single_col_vec (const Vec< T, Cols > &col, const int d) |
| |
| static constexpr Mat | diagonal_from_vec (const Vec< T, Rows > &diagonal) |
| |
|
| static constexpr int | rows = Rows |
| |
| static constexpr int | cols = Cols |
| |
◆ det()
template<typename T , int Rows, int Cols>
◆ diagonal()
template<typename T , int Rows, int Cols>
◆ diagonal_from_vec()
template<typename T , int Rows, int Cols>
◆ double_contract()
template<typename T , int Rows, int Cols>
◆ fill()
template<typename T , int Rows, int Cols>
◆ from_col_vecs() [1/2]
template<typename T , int Rows, int Cols>
| static constexpr Mat terra::dense::Mat< T, Rows, Cols >::from_col_vecs |
( |
const Vec< T, Rows > & |
col0, |
|
|
const Vec< T, Rows > & |
col1 |
|
) |
| |
|
inlinestaticconstexpr |
◆ from_col_vecs() [2/2]
template<typename T , int Rows, int Cols>
| static constexpr Mat terra::dense::Mat< T, Rows, Cols >::from_col_vecs |
( |
const Vec< T, Rows > & |
col0, |
|
|
const Vec< T, Rows > & |
col1, |
|
|
const Vec< T, Rows > & |
col2 |
|
) |
| |
|
inlinestaticconstexpr |
◆ from_row_vecs()
template<typename T , int Rows, int Cols>
| static constexpr Mat terra::dense::Mat< T, Rows, Cols >::from_row_vecs |
( |
const Vec< T, Cols > & |
row0, |
|
|
const Vec< T, Cols > & |
row1, |
|
|
const Vec< T, Cols > & |
row2 |
|
) |
| |
|
inlinestaticconstexpr |
◆ from_single_col_vec()
template<typename T , int Rows, int Cols>
| static constexpr Mat terra::dense::Mat< T, Rows, Cols >::from_single_col_vec |
( |
const Vec< T, Cols > & |
col, |
|
|
const int |
d |
|
) |
| |
|
inlinestaticconstexpr |
◆ hadamard_product()
template<typename T , int Rows, int Cols>
◆ inv()
template<typename T , int Rows, int Cols>
◆ inv_transposed() [1/2]
template<typename T , int Rows, int Cols>
◆ inv_transposed() [2/2]
template<typename T , int Rows, int Cols>
◆ operator()() [1/2]
template<typename T , int Rows, int Cols>
◆ operator()() [2/2]
template<typename T , int Rows, int Cols>
◆ operator*() [1/3]
template<typename T , int Rows, int Cols>
template<int RHSRows, int RHSCols>
| Mat< T, Rows, RHSCols > terra::dense::Mat< T, Rows, Cols >::operator* |
( |
const Mat< T, RHSRows, RHSCols > & |
rhs | ) |
const |
|
inline |
◆ operator*() [2/3]
template<typename T , int Rows, int Cols>
◆ operator*() [3/3]
template<typename T , int Rows, int Cols>
◆ operator+()
template<typename T , int Rows, int Cols>
◆ operator+=()
template<typename T , int Rows, int Cols>
◆ operator=()
template<typename T , int Rows, int Cols>
◆ transposed()
template<typename T , int Rows, int Cols>
◆ cols
template<typename T , int Rows, int Cols>
◆ data
template<typename T , int Rows, int Cols>
◆ rows
template<typename T , int Rows, int Cols>
The documentation for this struct was generated from the following file: