force_posdef {vdar}R Documentation

Force positive definiteness

Description

Function to force positive definiteness on a matrix.

Usage

force_posdef(x, verbose = T)

Arguments

x

matrix

verbose

logical, default TRUE. Should the function print the corrected eigenvalues?

Value

positive definite matrix

Author(s)

Solveig Pospiech


[Package vdar version 0.1.3-2 Index]