Learn R Programming

smoothSurv (version 0.4)

MP.pseudoinv: Work Function for 'smoothSurvReg', currently nowhere used.

Description

Function to compute a Moore-Penrose pseudoinverse of a symmetric matrix using eigen values decomposition.

Usage

MP.pseudoinv(x, toler = 1e-7)

Arguments

x
A symmetric matrix (it is not checked).
toler
Under the eigen values decomposition is computed, all eigen values smaller in absolute value than toler are assumed to be zero.

Value

  • A matrix with the Moore-Penrose pseudoinverse of x.