getBasis: Get Orthogonal Basis of a Matrix.
Description
Calculate an orthogonal Basis for the span of the column vectors of the input matrix.
Usage
getBasis(X, tol = sqrt(.Machine$double.eps))
Arguments
X
(object) two-dimensional, for which a Basis inverse
has to be computed
tol
(numeric) tolerance value to be used in comparisons
Value
(object) A matrix whose columns form an orthogonal basis for the span of X