ABS
From STX Wiki
Jump to navigationJump to search
Contents
ABS
Compute the absolute value of input A. If A is a number: y = |A| If A is a vector: y[i] = |A[i]|
Usage:
ABS A
Inputs:
- A
- A number or vector.
Outputs:
- Y
- A number or vector (same as type of A).