ipd | R Documentation |
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)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.