Learn R Programming

smoothSurv (version 2.6)

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)

Value

A matrix with the Moore-Penrose pseudoinverse of x.

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.

Author

Arnošt Komárek arnost.komarek@mff.cuni.cz