nearestSPD: Finds closest symmetric positive definite matrix

Description Usage Arguments Value Examples

View source: R/nearestSPD.R

Description

Finds closest symmetric positive definite matrix

Usage

1

Arguments

A

matrix

Value

Ahat closest SPD matrix to A

Examples

1
2
m <- matrix(c(1,2,3,4,5,6,7,8,9),3,3,byrow = TRUE)
nearestSPD(m)

Mufabo/ICASSP20.T6.R documentation built on May 30, 2021, 11:20 a.m.