LOOS  v2.3.2
loos::Math::RowMajor Class Reference

Class for storing a matrix in row-major order... More...

#include <MatrixOrder.hpp>

Public Member Functions

 RowMajor (const uint y, const uint x)
 
ulong size (void) const
 
ulong index (const uint y, const uint x) const
 Get the index into the linear array of data.
 

Protected Member Functions

void setSize (const uint y, const uint x)
 Reset the [virtual] size of the matrix. More...
 

Protected Attributes

uint m
 
uint n
 
ulong s
 

Detailed Description

Class for storing a matrix in row-major order...

Definition at line 117 of file MatrixOrder.hpp.

Member Function Documentation

void loos::Math::RowMajor::setSize ( const uint  y,
const uint  x 
)
inlineprotected

Reset the [virtual] size of the matrix.

Does not currently force a new allocation of data...

Definition at line 132 of file MatrixOrder.hpp.


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