Page logoMath sketchbook

Documentation for abs

Signature

abs(x)

Description

The abs() function calculates the absolute value of the given number, or the magnitude in case of a complex number (computed as sqrt(x*conj(x))).

Variants

  • abs(scalar) -> scalar

Examples

See also