WLJS LogoWLJS Notebook

NegativeSemidefiniteMatrixQ

NegativeSemidefiniteMatrixQ[m] gives True if m is explicitly negative semidefinite, and False otherwise.

Examples

Test if a matrix is negative semidefinite:

NegativeSemidefiniteMatrixQ[{{-1, 0}, {0, -2}}]
(* True *)
NegativeSemidefiniteMatrixQ[{{1, 0}, {0, 2}}]
(* False *)

Please visit the official Wolfram Language Reference for more details.

On this page