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

Absolute values.

Syntax
C#
Visual Basic
public TMtxVec Abs();

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

var a,b: Vector; begin a.SetIt(True,[1,-2,3,4]); a.Abs; a := Abs(a); //same as a.Abs b.Abs(a); //same as b := Abs(a); b := Abs(a); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!