Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ipd

Positive definite matrices


Description

Is a matrix symmetric positive-definite?

Usage

ipd(mat)

Arguments

mat

A matrix

Value

Returns either TRUE if symmetric positive-definite; or FALSE, printing a diagnostic message.

Author(s)

Robin K. S. Hankin

Examples

data(mtoys)
stopifnot(ipd(crossprod(matrix(rnorm(30),10))))
stopifnot(ipd(M(toy_mhp)))

multivator

A Multivariate Emulator

v1.1-10
GPL-2
Authors
Robin K. S. Hankin [aut, cre] (<https://orcid.org/0000-0001-5982-0415>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.