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

View source: R/smoothSurvReg.fit.R

MP.pseudoinvR 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@mff.cuni.cz


smoothSurv documentation built on Oct. 11, 2022, 1:05 a.m.