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 30, 2017, 12:18 a.m.

Related to invgen in far...