MtxExpr::Trunc Function

Overload List

#SignatureDescription
1Vector Trunc(TVec *X);Rounds values towards to zero to integer.
2Matrix Trunc(TMtx *X);Rounds values towards zero to integer.

Overload 1: Vector Trunc(TVec *X);

Rounds values towards to zero to integer.

#NameTypeDescription
1XTVec *
Remarks:

Internally calls Vector::Trunc

Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler

Overload 2: Matrix Trunc(TMtx *X);

Rounds values towards zero to integer.

#NameTypeDescription
1XTMtx *
Remarks:

Internally calls Matrix::Trunc

Declared in Dew::Math::Units::MtxExpr · Dew.Math/Units.MtxExpr.h · Cross-compiler