Navigation Banner
 

Abs Built-in function
  Absolute value.
If x is a number, returns |x|.
If x is a matrix, returns maximum absolute value among matrix elements, unless x is vector in which case the euclidean norm is returned. If x is a string, returns the length of the string.
Syntax  Abs(x)
Notes
Examples
Abs({{1,2}{-4,3}})
returns 4.
Abs ("foobar")
returns 6.
Abs({{1,1}}) returns 1.41421 (i.e. the square root of 2).
 Last modified: 8/9/2002

 
Sergei L. Kosakovsky Pond and Spencer V. Muse, 1997-2002