Navigation

Operators and Keywords

Function List:

C++ API

: abs (z)

Compute the magnitude of z.

The magnitude is defined as |z|= sqrt (x^2 + y^2).

For example:

abs (3 + 4i)
    ⇒ 5

See also: arg.

Package: octave