Algosim documentation: normalized

normalized

Returns a vector normalised.

Syntax

Description

If v is a non-zero vector, then normalized(v) returns v/norm(v). If v is the zero vector, normalized(v) returns v.

See also