ABS
From STX Wiki
Jump to navigationJump to search
Absolute value.
[SPU ABS A OUT Y]
- In
A number or vector
- Out
Y same type as A
- Function
if A is a number → Y = |A| if A is a vector → Y[i] = |A[i]|
Absolute value.
[SPU ABS A OUT Y]
A | number or vector |
Y | same type as A |
if A is a number | → | Y = |A| |
if A is a vector | → | Y[i] = |A[i]| |