You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > clVector Structure > clVector Methods > Frac Method > clVector.Frac Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
clVector.Frac Method ()

Fractional part of values.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Frac();

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

var a: clVector; ind: Integer; begin a.CopyFromArray(TSingleArray.Create(1,5.5,-1.6,6)); // a = [1, 5.5, -1.6, 6] a.Frac; // a = [0, 0.5, -0.6, 0] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!