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)
SingleSegmentSequence
setup
in interface SingleSegmentSequence
dblYLeading
- 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
SingleSegmentSequence
responseValue
in interface SingleSegmentSequence
dblPredictorOrdinate
- Predictor Ordinatejava.lang.Exception
- Thrown if the Response Value cannot be calculatedpublic double responseValueDerivative(double dblPredictorOrdinate, int iOrder) throws java.lang.Exception
SingleSegmentSequence
responseValueDerivative
in interface SingleSegmentSequence
dblPredictorOrdinate
- Predictor OrdinateiOrder
- Order the Derivativejava.lang.Exception
- Thrown if the Response Value Derivative cannot be calculatedpublic WengertJacobian jackDResponseDCalibrationInput(double dblPredictorOrdinate, int iOrder)
SingleSegmentSequence
jackDResponseDCalibrationInput
in interface SingleSegmentSequence
dblPredictorOrdinate
- Predictor OrdinateiOrder
- Order of Derivative desiredpublic WengertJacobian jackDResponseDManifestMeasure(java.lang.String strManifestMeasure, double dblPredictorOrdinate, int iOrder)
SingleSegmentSequence
jackDResponseDManifestMeasure
in interface SingleSegmentSequence
strManifestMeasure
- Manifest Measure whose Sensitivity is soughtdblPredictorOrdinate
- Predictor OrdinateiOrder
- Order of Derivative desiredpublic Monotonocity monotoneType(double dblPredictorOrdinate)
SingleSegmentSequence
monotoneType
in interface SingleSegmentSequence
dblPredictorOrdinate
- Predictor Ordinatepublic boolean isLocallyMonotone() throws java.lang.Exception
SingleSegmentSequence
isLocallyMonotone
in interface SingleSegmentSequence
java.lang.Exception
- Thrown if the Segment Monotone Type could not be estimatedpublic boolean isCoMonotone(double[] adblMeasuredResponse) throws java.lang.Exception
SingleSegmentSequence
isCoMonotone
in interface SingleSegmentSequence
adblMeasuredResponse
- The Array of Measured Responsesjava.lang.Exception
- Thrown if the Segment Monotone Type could not be estimatedpublic boolean isKnot(double dblPredictorOrdinate)
SingleSegmentSequence
isKnot
in interface SingleSegmentSequence
dblPredictorOrdinate
- Predictor Ordinatepublic boolean resetNode(int iPredictorOrdinateNodeIndex, double dblResetResponse)
SingleSegmentSequence
resetNode
in interface SingleSegmentSequence
iPredictorOrdinateNodeIndex
- The Predictor Ordinate Node Index whose Response is to be resetdblResetResponse
- The Response to resetpublic boolean resetNode(int iPredictorOrdinateNodeIndex, SegmentResponseValueConstraint sprcReset)
SingleSegmentSequence
resetNode
in interface SingleSegmentSequence
iPredictorOrdinateNodeIndex
- The Predictor Ordinate Node Index whose Response is to be resetsprcReset
- The Segment Constraintpublic R1ToR1 toAU()
SingleSegmentSequence
toAU
in interface SingleSegmentSequence
public double getLeftPredictorOrdinateEdge()
SingleSegmentSequence
getLeftPredictorOrdinateEdge
in interface SingleSegmentSequence
public double getRightPredictorOrdinateEdge()
SingleSegmentSequence
getRightPredictorOrdinateEdge
in interface SingleSegmentSequence