ginv { MASS }R Documentation

Generalized Inverse of a Matrix

Description

Calculates the Moore-Penrose generalized inverse of a matrix < code >X.

Usage
ginv(X, tol = sqrt(.Machine$double.eps))
Arguments
X

Matrix for which the Moore-Penrose inverse is required.

tol

A relative tolerance to detect zero singular values.

Value

A MP generalized inverse matrix for < code >X.

References

Venables, W. N. and Ripley, B. D. (1999) < em >Modern Applied Statistics with S-PLUS. Third Edition. Springer. p.100.

See Also

< code >solve, < code >svd, < code >eigen


[ Package MASS version 7.3-51.1 Index ]