Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Null space of a matrix (null_space)

A basis of the null space of a matrix: the vectors v with A v = 0.

How to write it

null_space(matrix)

matrix
A matrix, written as a list of rows. Takes a matrix, written as a list of rows.

Examples

  • ker⁡(1224)=(−21)\displaystyle \ker \begin{pmatrix} 1 & 2 \\ 2 & 4 \end{pmatrix} = \begin{pmatrix} -2 & 1 \end{pmatrix}
    null_space([[1, 2], [2, 4]])

    In the solver, null_space([[1, 2], [2, 4]]) gives [[-2, 1]].

    Open in the solver
  • orthogonalize

    Orthonormal vectors spanning the same space as some vectors, by the Gram-Schmidt process.

  • normalize

    A vector scaled to length 1.

  • pseudo_inverse

    Moore-Penrose pseudo-inverse of a matrix.

  • norm

    Length of a vector.

  • qr_decomposition

    QR decomposition of a matrix: an orthogonal factor and an upper triangular one.

  • minors

    The matrix of minors: the determinant left when each row and column is removed.