Group: Mathematical Functions
Subgroup: Common Functions
See also:

Function: abs
Description: abs computes the absolute value of the elements of an array.

Usage: z = abs(x)
Input:
x d1 x d2 x ... x dn array
Output:
z d1 x d2 x ... x dn array

Example:
x = #(-1, 3)~#(1, -3) 
abs(x) 

Result:
[1,]     1     1 
[2,]     3     3 






Group: Mathematical Functions
Subgroup: Common Functions
See also:

© XploRe, generated on 6.3.98 7:17 .