Package com.imsl.stat
Class NonlinearRegression.NegativeWeightException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.imsl.IMSLException
com.imsl.stat.NonlinearRegression.NegativeWeightException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- NonlinearRegression
A negative weight was encountered.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNegativeWeightException(int rowIndex, int invocation, double value) Constructs aNegativeWeightException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NegativeWeightException
public NegativeWeightException(int rowIndex, int invocation, double value) Constructs aNegativeWeightException.- Parameters:
rowIndex- Anintwhich specifies the row index of X for which the weight is negative.invocation- Anintwhich specifies the invocation number at which the error occurred. A 3 would indicate that the error occurred on the third invocation.value- Andoublewhich represents the value of the weight encountered.
-