powered by
Checks if a given matrix is semi-positive definited.
is.semiposDef(matrix)
A logical value: True/False.
a (non-empty) numeric matrix of data values.
A<-matrix(c(2.2,1,1,3), nrow = 2, byrow = TRUE) is.semiposDef(A) B<-matrix(c(1,2,3,3,1,2,1,2,1), nrow = 3, byrow = TRUE) is.semiposDef(B)
Run the code above in your browser using DataLab