Mathter
A configurable 3D math library for game developers.
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed > Class Template Reference

#include <MatrixImpl.hpp>

+ Inheritance diagram for mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >:

Public Member Functions

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...
 

Public Attributes

std::array< Vector< T, StripeDim, Packed >, StripeCountstripes
 

Static Public Attributes

static constexpr int StripeDim = Layout == eMatrixLayout::ROW_MAJOR ? Columns : Rows
 
static constexpr int StripeCount = Layout == eMatrixLayout::ROW_MAJOR ? Rows : Columns
 

Member Function Documentation

◆ ColumnCount()

template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
constexpr int mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >::ColumnCount ( ) const
inline

Returns the number of columns of the matrix.

◆ Height()

template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
constexpr int mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >::Height ( ) const
inline

Returns the number of rows of the matrix.

◆ RowCount()

template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
constexpr int mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >::RowCount ( ) const
inline

Returns the number of rows of the matrix.

◆ Width()

template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
constexpr int mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >::Width ( ) const
inline

Returns the number of columns of the matrix.

Member Data Documentation

◆ StripeCount

template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
constexpr int mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >::StripeCount = Layout == eMatrixLayout::ROW_MAJOR ? Rows : Columns
static

◆ StripeDim

template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
constexpr int mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >::StripeDim = Layout == eMatrixLayout::ROW_MAJOR ? Columns : Rows
static

◆ stripes

template<class T, int Rows, int Columns, eMatrixOrder Order = eMatrixOrder::FOLLOW_VECTOR, eMatrixLayout Layout = eMatrixLayout::ROW_MAJOR, bool Packed = false>
std::array<Vector<T, StripeDim, Packed>, StripeCount> mathter::MatrixData< T, Rows, Columns, Order, Layout, Packed >::stripes

The documentation for this class was generated from the following file: