#include <Matrix.hpp>
|
| T & | operator() (std::size_t i, std::size_t j) |
| const T & | operator() (std::size_t i, std::size_t j) const |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix | operator- () const |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix | operator+ (const Matrix &other) const |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix | operator- (const Matrix &other) const |
| template<std::size_t OTHER_COLS, typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix< T, ROWS, OTHER_COLS > | operator* (const Matrix< T, COLS, OTHER_COLS > &other) const |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix & | operator+= (const Matrix &other) |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix | operator/ (T scalar) const |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix & | operator*= (T scalar) |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix & | operator/= (T scalar) |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix & | operator-= (const Matrix &other) |
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| Matrix | operator* (T scalar) const |
| Matrix | transpose () const |
|
| template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type> |
| static Matrix | identity () |
| static Matrix | zero () |
| template<typename = typename std::enable_if<ROWS == COLS>::type> |
| static Matrix | diagonal (const T(&values)[ROWS]) |
◆ diagonal()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<ROWS == COLS>::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::diagonal |
( |
const T(&) | values[ROWS] | ) |
|
|
inlinestatic |
◆ identity()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::identity |
( |
| ) |
|
|
inlinestatic |
◆ operator()() [1/2]
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
| T & Matrix< T, ROWS, COLS, typename, type >::operator() |
( |
std::size_t | i, |
|
|
std::size_t | j ) |
|
inline |
◆ operator()() [2/2]
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
| const T & Matrix< T, ROWS, COLS, typename, type >::operator() |
( |
std::size_t | i, |
|
|
std::size_t | j ) const |
|
inline |
◆ operator*() [1/2]
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<std::size_t OTHER_COLS, typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix< T, ROWS, OTHER_COLS > Matrix< T, ROWS, COLS, typename, type >::operator* |
( |
const Matrix< T, COLS, OTHER_COLS > & | other | ) |
const |
|
inline |
◆ operator*() [2/2]
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::operator* |
( |
T | scalar | ) |
const |
|
inline |
◆ operator*=()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix & Matrix< T, ROWS, COLS, typename, type >::operator*= |
( |
T | scalar | ) |
|
|
inline |
◆ operator+()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::operator+ |
( |
const Matrix< T, ROWS, COLS, typename, type > & | other | ) |
const |
|
inline |
◆ operator+=()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix & Matrix< T, ROWS, COLS, typename, type >::operator+= |
( |
const Matrix< T, ROWS, COLS, typename, type > & | other | ) |
|
|
inline |
◆ operator-() [1/2]
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::operator- |
( |
| ) |
const |
|
inline |
◆ operator-() [2/2]
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::operator- |
( |
const Matrix< T, ROWS, COLS, typename, type > & | other | ) |
const |
|
inline |
◆ operator-=()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix & Matrix< T, ROWS, COLS, typename, type >::operator-= |
( |
const Matrix< T, ROWS, COLS, typename, type > & | other | ) |
|
|
inline |
◆ operator/()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::operator/ |
( |
T | scalar | ) |
const |
|
inline |
◆ operator/=()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
template<typename = typename std::enable_if<std::is_arithmetic<T>::value && ROWS == COLS>::type>
| Matrix & Matrix< T, ROWS, COLS, typename, type >::operator/= |
( |
T | scalar | ) |
|
|
inline |
◆ transpose()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
| Matrix Matrix< T, ROWS, COLS, typename, type >::transpose |
( |
| ) |
const |
|
inline |
◆ zero()
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
◆ data
template<typename T, std::size_t ROWS, std::size_t COLS, typename = typename std::enable_if<ROWS >= 1 && COLS >= 1, ::type>
| T Matrix< T, ROWS, COLS, typename, type >::data[ROWS][COLS] {} |
The documentation for this struct was generated from the following file: