Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Norm of a vector (norm)

Length of a vector.

How to write it

norm(v)

v
A vector. Takes a list.

Examples

  • ∥[3,4]∥=5\displaystyle \left\| \left[ 3, 4 \right] \right\| = 5
    norm([3, 4])

    In the solver, norm([3, 4]) gives 5.

    Open in the solver
  • 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.