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

Absolute values.

Syntax
C#
Visual Basic
public TOpenCLMtxVec Abs();

Calculate the absolute value of all calling object elemets in-place.

var A,B: clVector; begin A.CopyFromArray(TSingleArray.Create(1,-2,3,4)); B.Abs(A); // B = [1,2,3,4] end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!