Package org.apache.commons.math3.linear
Class NonPositiveDefiniteMatrixException
- 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.exception.MathIllegalNumberException
-
- org.apache.commons.math3.exception.NumberIsTooSmallException
-
- org.apache.commons.math3.linear.NonPositiveDefiniteMatrixException
-
- All Implemented Interfaces:
java.io.Serializable
,ExceptionContextProvider
public class NonPositiveDefiniteMatrixException extends NumberIsTooSmallException
Exception to be thrown when a positive definite matrix is expected.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
index
Index (diagonal element).private static long
serialVersionUID
Serializable version Id.private double
threshold
Threshold.-
Fields inherited from class org.apache.commons.math3.exception.MathIllegalNumberException
INTEGER_ZERO
-
-
Constructor Summary
Constructors Constructor Description NonPositiveDefiniteMatrixException(double wrong, int index, double threshold)
Construct an exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumn()
int
getRow()
double
getThreshold()
-
Methods inherited from class org.apache.commons.math3.exception.NumberIsTooSmallException
getBoundIsAllowed, getMin
-
Methods inherited from class org.apache.commons.math3.exception.MathIllegalNumberException
getArgument
-
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
-
index
private final int index
Index (diagonal element).
-
threshold
private final double threshold
Threshold.
-
-