makePD2: Bending of Matrix A

Description Usage Arguments Details Value Examples

View source: R/MakePD.R

Description

The input matrix A is decomposed into its eigen-values and eigen-vectors, The negative eigen-values are projected into the range between zero and the smallest positive eigen-value.

Usage

1

Arguments

A

input matrix

Details

— title: Check and Transform to Insure Positive Definite of Matrix date: "'r Sys.Date()'" —

Value

Bended positive-definite matrix A

Examples

1
2
G<- matrix(c(100,80,20,6,80,50,10,2,20,10,6,1,6,2,1,1), ncol = 4, byrow=TRUE)
makePD2(G)

sknqualitasag/PositiveDefinit documentation built on Nov. 5, 2019, 9:20 a.m.