magnitude

fun magnitude(cartesian: Cartesian2): Double(source)

Computes the Cartesian's magnitude (length).

Return

The magnitude.

Parameters

cartesian

The Cartesian instance whose magnitude is to be computed.

See also