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

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

#include <MatrixOrder.hpp>

Inheritance diagram for loos::Math::ColMajor:

Public Member Functions

 ColMajor (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 column-major order.

Definition at line 93 of file MatrixOrder.hpp.

Member Function Documentation

void loos::Math::ColMajor::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 108 of file MatrixOrder.hpp.


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