| 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 | |
x = #(-1, 3)~#(1, -3) abs(x)
[1,] 1 1 [2,] 3 3
| Group: | Mathematical Functions |
| Subgroup: | Common Functions |
| See also: |