| Group: | Mathematical Functions |
| Topic: | Common Functions |
| Function: | abs | |
| Description: | Computes the absolute values of the elements of an array. |
| Usage: | z = abs(x) | |
| Input: | ||
| x | array | |
| Output: | ||
| z | array | |
x = #(-1, 3)~#(1, -3) abs(x)
Contents of abs [1,] 1 1 [2,] 3 3
| Group: | Mathematical Functions |
| Topic: | Common Functions |