ginv: Generalized Inverse of a Matrix

View source: R/misc.R

ginvR Documentation

Generalized Inverse of a Matrix

Description

Calculates the Moore-Penrose generalized inverse of a matrix 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 X.

References

Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S-PLUS. Fourth Edition. Springer.

See Also

solve, svd, eigen


MASS documentation built on Jan. 23, 2023, 5:32 p.m.

Related to ginv in MASS...