Norm of a vector (norm)
Length of a vector.
How to write it
norm(v)
- v
- A vector. Takes a list.
Examples
norm([3, 4])In the solver,
Open in the solvernorm([3, 4])gives5.
Related functions
- normalize
A vector scaled to length 1.
- minors
The matrix of minors: the determinant left when each row and column is removed.
- null_space
A basis of the null space of a matrix: the vectors v with A v = 0.
- matrix_power
A square matrix to a whole power.
- orthogonalize
Orthonormal vectors spanning the same space as some vectors, by the Gram-Schmidt process.
- matrix_log
Logarithm of a square matrix.