All Classes Files Functions Variables Typedefs Pages
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MatrixImpl< T, R, C > Struct Template Reference

Description

template<typename T, std::size_t R, std::size_t C>
struct lumina::internal::MatrixImpl< T, R, C >

Helper class for common Matrix stuff.

Just for internal use!

Inherited by Matrix< T, R, C >.

Public Types

using type = T
 

Public Member Functions

void setToZero ()
 
Vector< T, C > getRow (std::size_t index) const
 
Vector< T, R > getColumn (std::size_t index) const
 
void setRow (std::size_t index, Vector< T, C > vec)
 
void setColumn (std::size_t index, Vector< T, R > vec)
 

Public Attributes

data [R][C]
 

Static Public Attributes

static constexpr std::size_t numRows = R
 
static constexpr std::size_t numColumns = C