Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Mathematical Functions
Topic: Common Functions
See also:

Function: abs
Description: Computes the absolute values of the elements of an array.

Usage: z = abs(x)
Input:
x array
Output:
z array

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

Result:
Contents of abs

[1,]     1     1
[2,]     3     3



(C) MD*TECH Method and Data Technologies, 05.02.2006