matrix.posdef: Projection positive definite

View source: R/matrix.posdef.R

matrix.posdefR Documentation

Projection positive definite

Description

Function to project a matrix in the space of positive definite matrices

Usage

matrix.posdef(A, verbose = TRUE, matrix.name = "Matrix", epsilon = 1e-07)

Arguments

A

Input matrix to project

verbose

Set to FALSE to not display any prints

matrix.name

This is just for internal prints

epsilon

This factor is added to the diagonal to avoid numerical issues with semi-definit matrices

Value

Positive definite matrix


MoBPS documentation built on Nov. 5, 2025, 6:26 p.m.

Related to matrix.posdef in MoBPS...