Package org.hipparchus.migration.linear
Class NonPositiveDefiniteMatrixException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.hipparchus.exception.MathRuntimeException
org.hipparchus.exception.MathIllegalArgumentException
org.hipparchus.migration.exception.MathIllegalNumberException
org.hipparchus.migration.exception.NumberIsTooSmallException
org.hipparchus.migration.linear.NonPositiveDefiniteMatrixException
- All Implemented Interfaces:
Serializable,LocalizedException
Deprecated.
Exception to be thrown when a positive definite matrix is expected.
- See Also:
-
Field Summary
Fields inherited from class org.hipparchus.migration.exception.MathIllegalNumberException
INTEGER_ZERO -
Constructor Summary
ConstructorsConstructorDescriptionNonPositiveDefiniteMatrixException(double wrong, int index, double threshold) Deprecated.Construct an exception. -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Get column index.intgetRow()Deprecated.Get row index.doubleDeprecated.Get absolute positivity threshold.Methods inherited from class org.hipparchus.migration.exception.NumberIsTooSmallException
getBoundIsAllowed, getMinMethods inherited from class org.hipparchus.migration.exception.MathIllegalNumberException
getArgumentMethods inherited from class org.hipparchus.exception.MathRuntimeException
createInternalError, createInternalError, getLocalizedMessage, getMessage, getMessage, getParts, getSpecifierMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NonPositiveDefiniteMatrixException
public NonPositiveDefiniteMatrixException(double wrong, int index, double threshold) Deprecated.Construct an exception.- Parameters:
wrong- Value that fails the positivity check.index- Row (and column) index.threshold- Absolute positivity threshold.
-
-
Method Details
-
getRow
public int getRow()Deprecated.Get row index.- Returns:
- the row index
-
getColumn
public int getColumn()Deprecated.Get column index.- Returns:
- the column index
-
getThreshold
public double getThreshold()Deprecated.Get absolute positivity threshold.- Returns:
- the absolute positivity threshold
-
MathIllegalArgumentException