You are here: Symbol Reference > MtxExpr Namespace > Classes > Matrix Record > public > Frac Method > Matrix.Frac Method ()
MtxVec VCL
ContentsIndex
PreviousUpNext
Matrix.Frac Method ()

Fractional part of values.

Pascal
function Frac: TMtxVec; overload;

Calculates the fractional part for all object values in-place.

var a: Matrix; ind: Integer; begin a.SetIt(2,2,False,[1,5.5,-1.6,6]); // a = [1, 5.5, -1.6, 6] a.Frac; // a = [0, 0.5, -0.6, 0] end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!