Test if the object is a matrix that is symmetric and positive definite

is.SPD(x, tol = .Machine$double.eps)

Arguments

x

the object to be tested.

tol

the tolerance for the reciprocal condition number.