linalg[definite] - test for positive or negative definite matrices
|
Calling Sequence
|
|
definite(A, kind)
|
|
Parameters
|
|
A
|
-
|
square symmetric matrix
|
kind
|
-
|
one of the following symbols: 'positive_def', 'positive_semidef', 'negative_def', or 'negative_semidef'
|
|
|
|
|
Description
|
|
•
|
For numerical matrices, definite returns true if the matrix has the property specified by the parameter kind. The properties are positive definite, positive semidefinite, negative definite, or negative semidefinite.
|
•
|
For matrices with non-numerical entries, definite returns a conjunction of Boolean expressions, all of which must be true if the matrix is to have the property specified by the parameter kind.
|
•
|
The command with(linalg,definite) allows the use of the abbreviated form of this command.
|
|
|
Download Help Document
Was this information helpful?