Algosim documentation: nullity

nullity

The nullity of a matrix.

Syntax

Description

If A is a matrix, then nullity(A) returns the nullity of A, that is, the dimension of the null space of A.

Examples

A ≔ ❨❨2, 2, −5, 0, −1❩, ❨1, 5, −2, 1, 5❩, ❨0, 1, 3, 2, 6❩, ❨−2, 1, 4, 6, 9❩, ❨3, −2, 7, −2, 6❩❩
⎛ 2   2  −5   0  −1⎞
⎜ 1   5  −2   1   5⎟
⎜ 0   1   3   2   6⎟
⎜−2   1   4   6   9⎟
⎝ 3  −2   7  −2   6⎠
nullity(A)
1

See also