public class SingleSegmentLagrangePolynomial extends java.lang.Object implements SingleSegmentSequence
| Constructor and Description |
|---|
SingleSegmentLagrangePolynomial(double[] adblPredictorOrdinate)
SingleSegmentLagrangePolynomial constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getLeftPredictorOrdinateEdge()
Return the Left Predictor Ordinate Edge
|
double |
getRightPredictorOrdinateEdge()
Return the Right Predictor Ordinate Edge
|
boolean |
isCoMonotone(double[] adblMeasuredResponse)
Verify whether the Stretch mini-max Behavior matches the Measurement
|
boolean |
isKnot(double dblPredictorOrdinate)
Is the given Predictor Ordinate a Knot Location
|
boolean |
isLocallyMonotone()
Indicate if all the comprising Segments are Monotone
|
WengertJacobian |
jackDResponseDCalibrationInput(double dblPredictorOrdinate,
int iOrder)
Calculate the Response Derivative to the Calibration Inputs at the specified Ordinate
|
WengertJacobian |
jackDResponseDManifestMeasure(java.lang.String strManifestMeasure,
double dblPredictorOrdinate,
int iOrder)
Calculate the Response Derivative to the Manifest Measure at the specified Ordinate
|
Monotonocity |
monotoneType(double dblPredictorOrdinate)
Identify the Monotone Type for the Segment underlying the given Predictor Ordinate
|
boolean |
resetNode(int iPredictorOrdinateNodeIndex,
double dblResetResponse)
Reset the Predictor Ordinate Node Index with the given Response
|
boolean |
resetNode(int iPredictorOrdinateNodeIndex,
SegmentResponseValueConstraint sprcReset)
Reset the Predictor Ordinate Node Index with the given Segment Constraint
|
double |
responseValue(double dblPredictorOrdinate)
Calculate the Response Value at the given Predictor Ordinate
|
double |
responseValueDerivative(double dblPredictorOrdinate,
int iOrder)
Calculate the Response Value Derivative at the given Predictor Ordinate for the specified order
|
boolean |
setup(double dblYLeading,
double[] adblResponseValue,
StretchBestFitResponse rbfr,
BoundarySettings bs,
int iCalibrationDetail)
Set up (i.e., calibrate) the individual Segments in the Stretch to the Response Values corresponding
to each Segment Predictor right Ordinate.
|
R1ToR1 |
toAU()
Convert the Segment Sequence into an AbstractUnivariate Instance
|
public SingleSegmentLagrangePolynomial(double[] adblPredictorOrdinate)
throws java.lang.Exception
adblPredictorOrdinate - Array of Predictor Ordinatesjava.lang.Exception - Thrown if inputs are invalidpublic boolean setup(double dblYLeading,
double[] adblResponseValue,
StretchBestFitResponse rbfr,
BoundarySettings bs,
int iCalibrationDetail)
SingleSegmentSequencesetup in interface SingleSegmentSequencedblYLeading - Stretch Left-most ResponseadblResponseValue - Array of Segment Right Edge Responsesrbfr - Stretch Fitness Weighted Responsebs - The Calibration Boundary ConditioniCalibrationDetail - The Calibration Detailpublic double responseValue(double dblPredictorOrdinate)
throws java.lang.Exception
SingleSegmentSequenceresponseValue in interface SingleSegmentSequencedblPredictorOrdinate - Predictor Ordinatejava.lang.Exception - Thrown if the Response Value cannot be calculatedpublic double responseValueDerivative(double dblPredictorOrdinate,
int iOrder)
throws java.lang.Exception
SingleSegmentSequenceresponseValueDerivative in interface SingleSegmentSequencedblPredictorOrdinate - Predictor OrdinateiOrder - Order the Derivativejava.lang.Exception - Thrown if the Response Value Derivative cannot be calculatedpublic WengertJacobian jackDResponseDCalibrationInput(double dblPredictorOrdinate, int iOrder)
SingleSegmentSequencejackDResponseDCalibrationInput in interface SingleSegmentSequencedblPredictorOrdinate - Predictor OrdinateiOrder - Order of Derivative desiredpublic WengertJacobian jackDResponseDManifestMeasure(java.lang.String strManifestMeasure, double dblPredictorOrdinate, int iOrder)
SingleSegmentSequencejackDResponseDManifestMeasure in interface SingleSegmentSequencestrManifestMeasure - Manifest Measure whose Sensitivity is soughtdblPredictorOrdinate - Predictor OrdinateiOrder - Order of Derivative desiredpublic Monotonocity monotoneType(double dblPredictorOrdinate)
SingleSegmentSequencemonotoneType in interface SingleSegmentSequencedblPredictorOrdinate - Predictor Ordinatepublic boolean isLocallyMonotone()
throws java.lang.Exception
SingleSegmentSequenceisLocallyMonotone in interface SingleSegmentSequencejava.lang.Exception - Thrown if the Segment Monotone Type could not be estimatedpublic boolean isCoMonotone(double[] adblMeasuredResponse)
throws java.lang.Exception
SingleSegmentSequenceisCoMonotone in interface SingleSegmentSequenceadblMeasuredResponse - The Array of Measured Responsesjava.lang.Exception - Thrown if the Segment Monotone Type could not be estimatedpublic boolean isKnot(double dblPredictorOrdinate)
SingleSegmentSequenceisKnot in interface SingleSegmentSequencedblPredictorOrdinate - Predictor Ordinatepublic boolean resetNode(int iPredictorOrdinateNodeIndex,
double dblResetResponse)
SingleSegmentSequenceresetNode in interface SingleSegmentSequenceiPredictorOrdinateNodeIndex - The Predictor Ordinate Node Index whose Response is to be resetdblResetResponse - The Response to resetpublic boolean resetNode(int iPredictorOrdinateNodeIndex,
SegmentResponseValueConstraint sprcReset)
SingleSegmentSequenceresetNode in interface SingleSegmentSequenceiPredictorOrdinateNodeIndex - The Predictor Ordinate Node Index whose Response is to be resetsprcReset - The Segment Constraintpublic R1ToR1 toAU()
SingleSegmentSequencetoAU in interface SingleSegmentSequencepublic double getLeftPredictorOrdinateEdge()
SingleSegmentSequencegetLeftPredictorOrdinateEdge in interface SingleSegmentSequencepublic double getRightPredictorOrdinateEdge()
SingleSegmentSequencegetRightPredictorOrdinateEdge in interface SingleSegmentSequence