checkPSD(L)
This function takes a list of symmetric matrices (or a single symmetric matrix) and returns the sublist of its positive semidefinite matrices.
Note that the function does not check whether the matrices in the original list are symmetric.
If there are no positive semidefinite matrices in the list, it returns an empty list.
|
|
The object checkPSD is a method function with options.