|
| Matrix ()=default |
|
template<class T2 , eMatrixLayout Layout2, bool Packed2> |
| Matrix (const Matrix< T2, Rows, Columns, Order, Layout2, Packed2 > &rhs) |
|
template<class T2 , eMatrixLayout Layout2, bool Packed2> |
| Matrix (const Matrix< T2, Columns, Rows, Order==eMatrixOrder::FOLLOW_VECTOR ? eMatrixOrder::PRECEDE_VECTOR :eMatrixOrder::FOLLOW_VECTOR, Layout2, Packed2 > &rhs) |
|
template<class H , class... Args, typename std::enable_if< traits::All< traits::IsScalar, H, Args... >::value, int >::type = 0, typename std::enable_if< 1+sizeof...(Args)==Rows *Columns, int >::type = 0> |
| Matrix (H h, Args... args) |
|
template<class T2 , bool Packed2, class = typename std::enable_if<VectorAssignable, T2>::type> |
| Matrix (const Vector< T2, VecDim, Packed2 > &v) |
|
T & | operator() (int row, int col) |
|
T | operator() (int row, int col) const |
|
template<class Q = T> |
std::enable_if<(Columns==1 &&Rows > 1)||(Columns > 1 &&Rows==1), Q >::type & | operator() (int idx) |
|
template<class Q = T> |
std::enable_if<(Columns==1 &&Rows > 1)||(Columns > 1 &&Rows==1), Q >::type | operator() (int idx) const |
|
template<int Subrows, int Subcolumns> |
mathter::SubmatrixHelper< Matrix, Subrows, Subcolumns > | Submatrix (int rowIdx, int colIdx) |
|
template<int Subrows, int Subcolumns> |
mathter::SubmatrixHelper< const Matrix, Subrows, Subcolumns > | Submatrix (int rowIdx, int colIdx) const |
|
auto | Column (int colIdx) |
| Return the submatrix corresponding to the specified column. More...
|
|
auto | Row (int rowIdx) |
| Return the submatrix corresponding to the specified row. More...
|
|
auto | Column (int colIdx) const |
| Return the submatrix corresponding to the specified column. More...
|
|
auto | Row (int rowIdx) const |
| Return the submatrix corresponding to the specified row. More...
|
|
template<class T2 , bool Packed2, class = typename std::enable_if<VectorAssignable, T2>::type> |
| operator Vector< T2, VecDim, Packed2 > () const |
|
constexpr int | ColumnCount () const |
| Returns the number of columns of the matrix. More...
|
|
constexpr int | RowCount () const |
| Returns the number of rows of the matrix. More...
|
|
constexpr int | Width () const |
| Returns the number of columns of the matrix. More...
|
|
constexpr int | Height () const |
| Returns the number of rows of the matrix. More...
|
|
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
template<class T2 , eMatrixLayout Layout2, bool Packed2>
mathter::Matrix< T, Rows, Columns, Order, Layout, Packed >::Matrix |
( |
const Matrix< T2, Rows, Columns, Order, Layout2, Packed2 > & |
rhs | ) |
|
|
inline |
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
template<class H , class... Args, typename std::enable_if< traits::All< traits::IsScalar, H, Args... >::value, int >::type = 0, typename std::enable_if< 1+sizeof...(Args)==Rows *Columns, int >::type = 0>
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
template<class T2 , bool Packed2, class = typename std::enable_if<VectorAssignable, T2>::type>
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
auto mathter::Matrix< T, Rows, Columns, Order, Layout, Packed >::Column |
( |
int |
colIdx | ) |
|
|
inline |
Return the submatrix corresponding to the specified column.
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
auto mathter::Matrix< T, Rows, Columns, Order, Layout, Packed >::Column |
( |
int |
colIdx | ) |
const |
|
inline |
Return the submatrix corresponding to the specified column.
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
template<class T2 , bool Packed2, class = typename std::enable_if<VectorAssignable, T2>::type>
mathter::Matrix< T, Rows, Columns, Order, Layout, Packed >::operator Vector< T2, VecDim, Packed2 > |
( |
| ) |
const |
|
inline |
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
auto mathter::Matrix< T, Rows, Columns, Order, Layout, Packed >::Row |
( |
int |
rowIdx | ) |
|
|
inline |
Return the submatrix corresponding to the specified row.
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
auto mathter::Matrix< T, Rows, Columns, Order, Layout, Packed >::Row |
( |
int |
rowIdx | ) |
const |
|
inline |
Return the submatrix corresponding to the specified row.
template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
template<class T2 , int Rows2, int Columns2, eMatrixOrder Order2, eMatrixLayout Layout2, bool Packed2>