Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/IsPositiveDefinite.R
IsPositiveDefinite()
returns TRUE
if A
is a positive definite matrix,
and FALSE
otherwise.
1 | IsPositiveDefinite(A, tol = 1e-08)
|
A |
Input. |
tol |
Numeric. Tolerance. |
An m \times m symmetric matrix \mathbf{A} is positive definite if all of its eigenvalues are positive.
A
is considered to be a positive definite matrix
if NONE of its eigenvalues are less than or equal to
a tolerance value.
Logical.
Ivan Jacob Agaloos Pesigan
Other predicate functions:
IsDiagonal()
,
IsIdempotent()
,
IsInvertible()
,
IsMatrix()
,
IsNilpotent()
,
IsOrthogonal()
,
IsScalar()
,
IsSingular()
,
IsSquareMatrix()
,
IsSymmetric()
,
IsVector()
,
MatrixCheck()
1 2 3 4 5 | # TRUE
IsPositiveDefinite(diag(2))
# FALSE
IsPositiveDefinite(matrix(1:9, ncol = 3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.