LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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.
 

Protected Attributes

uint m
 
uint n
 
ulong s
 

Detailed Description

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

Member Function Documentation

◆ setSize()

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


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