Package org.apache.commons.math3.linear
Class NonPositiveDefiniteOperatorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalArgumentException
-
- org.apache.commons.math3.exception.MathIllegalArgumentException
-
- org.apache.commons.math3.linear.NonPositiveDefiniteOperatorException
-
- All Implemented Interfaces:
java.io.Serializable
,ExceptionContextProvider
public class NonPositiveDefiniteOperatorException extends MathIllegalArgumentException
Exception to be thrown when a symmetric, definite positiveRealLinearOperator
is expected. Since the coefficients of the matrix are not accessible, the most general definition is used to check thatA
is not positive definite, i.e. there existsx
such thatx' A x <= 0
. In the terminology of this exception,A
is the "offending" linear operator andx
the "offending" vector.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Serializable version Id.
-
Constructor Summary
Constructors Constructor Description NonPositiveDefiniteOperatorException()
Creates a new instance of this class.
-
Method Summary
-
Methods inherited from class org.apache.commons.math3.exception.MathIllegalArgumentException
getContext, getLocalizedMessage, getMessage
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable version Id.- See Also:
- Constant Field Values
-
-