norm

open override fun norm(): Double(source)

Calculates the norm (magnitude) of the vector.

Return

The norm of the vector, which is the square root of the sum of the squares of its components.