For a vector , the norm is defined as:
for real-valued .
- When , this returns the length of the vector, and this is known as the Euclidean norm.
- When , the operator returns the maximum absolute value in the vector (infinity norm)
For a vector , the norm is defined as:
for real-valued .