MtxExpr.Trunc Method

Overload List

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

Overload 1: Matrix Trunc(TMtx X)

Rounds values towards zero to integer.

#NameTypeDescription
1XTMtxsource TMtx

Returns: Matrix

Remarks:

Internally calls Dew.Math.Matrix.Trunc

Overload 2: Vector Trunc(TVec X)

Rounds values towards to zero to integer.

#NameTypeDescription
1XTVecsource TVec

Returns: Vector

Remarks:

Internally calls Dew.Math.Vector.Trunc