You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Abs Method > Matrix.Abs Method ()
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.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: Matrix; begin a.SetIt(1,2,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-2022 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!