oa::FnMatrix::cast

--- dtype cast --- cast: allocate a new matrix of inDtype and convert inSrc into it. castInto: convert inSrc into the pre-allocated outDst in place.

Function Documentation

Matrix oa::FnMatrix::cast( const Matrix & inSrc, oa::ScalarType inDtype )
--- dtype cast --- cast: allocate a new matrix of inDtype and convert inSrc into it. castInto: convert inSrc into the pre-allocated outDst in place.

Parameters

inSrc
const Matrix &

inDtype
oa::ScalarType

Returns

Matrix

The declared return value.