invgen: Generalized inverse of a Matrix

Description Usage Arguments Value See Also Examples

Description

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

Usage

1
invgen(a, tol)

Arguments

a

Matrix for which the Moore-Penrose inverse is required.

tol

A relative tolerance to detect zero singular values.

Value

A Moore-Penrose generalized inverse matrix for X.

See Also

solve,svd,eigen

Examples

1
2
  mat1<-matrix(rnorm(100),ncol=10)
  print(invgen(mat1))


Search within the far package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.