You are here:
Symbol Reference >
AbstractMtxVec Namespace
>
Classes
>
TMtxVec Class
>
public
>
Frac Method
>
TMtxVec.Frac Method ()
MtxVec VCL
Example
TMtxVec.Frac Method ()
var
a: TVec; ind: Integer;
begin
a := TVec.Create;
try
a.SetIt(False,[1,5.5,-1.6,6]);
// a = [1, 5.5, -1.6, 6]
a.Frac;
// a = [0, 0.5, -0.6, 0]
finally
a.Free;
end
;
end
;
Copyright (c) 1999-2025 by Dew Research. All rights reserved.