Class NonPositiveDefiniteOperatorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.commons.math4.legacy.exception.MathRuntimeException
-
- org.apache.commons.math4.legacy.exception.MathIllegalArgumentException
-
- org.apache.commons.math4.legacy.linear.NonPositiveDefiniteOperatorException
-
- All Implemented Interfaces:
Serializable,ExceptionContextProvider
public class NonPositiveDefiniteOperatorException extends MathIllegalArgumentException
Exception to be thrown when a symmetric, definite positiveRealLinearOperatoris expected. Since the coefficients of the matrix are not accessible, the most general definition is used to check thatAis not positive definite, i.e. there existsxsuch thatx' A x <= 0. In the terminology of this exception,Ais the "offending" linear operator andxthe "offending" vector.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonPositiveDefiniteOperatorException()Creates a new instance of this class.
-
Method Summary
-
Methods inherited from class org.apache.commons.math4.legacy.exception.MathRuntimeException
getContext, getLocalizedMessage, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
NonPositiveDefiniteOperatorException
public NonPositiveDefiniteOperatorException()
Creates a new instance of this class.
-
-