oa::DsSubset

DsSubset class in the OA Data public surface.

Inheritance

public Dataset

Public Methods

Matrix oa::DsSubset::getItem(oa::I64 inIndex)
Sample oa::DsSubset::getSample(oa::I64 inIndex)
oa::Span<const oa::I64> oa::DsSubset::indices()
Dataset & oa::DsSubset::parent()
oa::I64 oa::DsSubset::size()

Constructor & Destructor Documentation

oa::DsSubset::DsSubset( Dataset & inParent, oa::Span<const oa::I64> inIndices )
Wrap a parent dataset with a subset of indices.

Parameters

inParent
Dataset &

inIndices
oa::Span<const oa::I64>

Public Method Documentation

Matrix oa::DsSubset::getItem( oa::I64 inIndex )
No public source comment is attached to this declaration.

Parameters

inIndex
oa::I64

Returns

Matrix

The declared return value.

Sample oa::DsSubset::getSample( oa::I64 inIndex )
No public source comment is attached to this declaration.

Parameters

inIndex
oa::I64

Returns

Sample

The declared return value.

oa::Span<const oa::I64> oa::DsSubset::indices()
access to the underlying index list (for inspection / serialization)

Returns

oa::Span<const oa::I64>

The declared return value.

Dataset & oa::DsSubset::parent()
parent dataset reference

Returns

Dataset &

The declared return value.

oa::I64 oa::DsSubset::size()
No public source comment is attached to this declaration.

Returns

oa::I64

The declared return value.