invgen: Generalized inverse of a Matrix

Description Usage Arguments Value See Also Examples

View source: R/invgen.R

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))

far documentation built on May 19, 2017, 10:35 p.m.

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

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

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

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