Description
Compute the (right or left) nullspace of matrix using a (semi-complete)
Singular Value Decomposition.
Usage
nullspace(A, type = c("right", "left"), tol = sqrt(.Machine$double.eps))Value
a matrix with as many rows as there are columns in A. The
number of columns (which may be zero) determine the dimensionality of the
nullspace of A.
Arguments
- A
a numeric matrix.
- type
"right" (default) gives is the standard nullspace,
"left" gives left nullspace of A.
- tol
tolerance multiple of the first singular value to determine if
subsequent singular values are (sufficiently) positive to be determined
greater than zero.
Author
Rune Haubo B. Christensen
Details
This implementation is fastest on matrices with more rows
than columns such as a typical design matrix for a linear model.
Examples
Run this code
# FIXME: We need some examples here
Run the code above in your browser using DataLab