Positive definite matrices
Is a matrix symmetric positive-definite?
ipd(mat)
mat |
A matrix |
Returns either TRUE
if symmetric positive-definite; or FALSE
, printing a diagnostic message.
Robin K. S. Hankin
data(mtoys) stopifnot(ipd(crossprod(matrix(rnorm(30),10)))) stopifnot(ipd(M(toy_mhp)))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.