oa::Stride

Stride class in the OA Core public surface.

Public Methods

bool oa::Stride::matchesRowMajor(const MatrixShape & inShape)
oa::I32 oa::Stride::rank()
oa::I64 oa::Stride::stepElements(oa::I32 inDim)

Static Public Methods

static Stride oa::Stride::rowMajor(const MatrixShape & inShape)

Public Data Members

rank_oa::I32field
stepsElems_Arrayfield

Constructor & Destructor Documentation

Public Method Documentation

bool oa::Stride::matchesRowMajor( const MatrixShape & inShape )
No public source comment is attached to this declaration.

Parameters

inShape
const MatrixShape &

Returns

bool

The declared return value.

oa::I32 oa::Stride::rank()
No public source comment is attached to this declaration.

Returns

oa::I32

The declared return value.

oa::I64 oa::Stride::stepElements( oa::I32 inDim )
No public source comment is attached to this declaration.

Parameters

inDim
oa::I32

Returns

oa::I64

The declared return value.

static Stride oa::Stride::rowMajor( const MatrixShape & inShape )
Methods.

Parameters

inShape
const MatrixShape &

Returns

Stride

The declared return value.