ABS

From STX Wiki
Jump to navigationJump to search

Absolute value.

[SPU ABS A OUT Y]
if A is a number A|
if A is a vector A[i]|
Usage:

ABS A

Inputs:
A
A number or vector.
Outputs:
Y
A number or vector (same as type of A).

Navigation menu

Personal tools