MP.pseudoinv {smoothSurv}R Documentation

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.

Note

WARNING: This function was primarily used inside smoothSurvReg. Consequently, it has very few error checks on its input arguments.

Author(s)

Arnošt Komárek arnost.komarek[AT]mff.cuni.cz


[Package smoothSurv version 2.0.1 Index]