public class SegmentBasisEvaluator extends java.lang.Object implements BasisEvaluator
| Constructor and Description |
|---|
SegmentBasisEvaluator(FunctionSet fs,
ResponseScalingShapeControl rssc)
SegmentBasisEvaluator constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
numBasis()
Retrieve the number of Segment's Basis Functions
|
BasisEvaluator |
replicate()
Clone/Replicate the current Basis Evaluator Instance
|
double |
responseValue(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate)
Compute the Response Value at the specified Predictor Ordinate
|
double |
responseValueDerivative(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate,
int iOrder)
Compute the Response Value Derivative at the specified Predictor Ordinate
|
boolean |
setContainingInelastics(LatentStateInelastic ics)
Set the Inelastics that provides the enveloping Context the Basis Evaluation
|
double |
shapedBasisFunctionDerivative(double dblPredictorOrdinate,
int iOrder,
int iBasisFunctionIndex)
Compute the Ordered Derivative of the Response Value off of the indexed Basis Function at the
specified Predictor Ordinate
|
double |
shapedBasisFunctionResponse(double dblPredictorOrdinate,
int iBasisFunctionIndex)
Compute the Response Value of the indexed Basis Function at the specified Predictor Ordinate
|
double |
unshapedBasisFunctionDerivative(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate,
int iOrder)
Compute the Ordered Derivative of the Response Value off of the Basis Function Set at the specified
Predictor Ordinate
|
double |
unshapedResponseValue(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate)
Compute the Basis Function Value at the specified Predictor Ordinate
|
public SegmentBasisEvaluator(FunctionSet fs, ResponseScalingShapeControl rssc) throws java.lang.Exception
fs - The Function Set Instance the contains the Basis Function Setrssc - The Segment Wide Shape Controllerjava.lang.Exception - Thrown if the Inputs are invalidpublic int numBasis()
BasisEvaluatornumBasis in interface BasisEvaluatorpublic boolean setContainingInelastics(LatentStateInelastic ics)
BasisEvaluatorsetContainingInelastics in interface BasisEvaluatorics - The Inelastic Settingspublic BasisEvaluator replicate()
BasisEvaluatorreplicate in interface BasisEvaluatorpublic double shapedBasisFunctionResponse(double dblPredictorOrdinate,
int iBasisFunctionIndex)
throws java.lang.Exception
BasisEvaluatorshapedBasisFunctionResponse in interface BasisEvaluatordblPredictorOrdinate - The specified Predictor OrdinateiBasisFunctionIndex - Index representing the Basis Function in the Basis Function Setjava.lang.Exception - Thrown if the Ordered Derivative cannot be computedpublic double unshapedResponseValue(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate)
throws java.lang.Exception
BasisEvaluatorunshapedResponseValue in interface BasisEvaluatoradblResponseBasisCoeff - Array of the Response Basis CoefficientsdblPredictorOrdinate - The specified Predictor Ordinatejava.lang.Exception - Thrown if the Basis Function Value cannot be computedpublic double responseValue(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate)
throws java.lang.Exception
BasisEvaluatorresponseValue in interface BasisEvaluatoradblResponseBasisCoeff - Array of the Response Basis CoefficientsdblPredictorOrdinate - The specified Predictor Ordinatejava.lang.Exception - Thrown if the Basis Function Value cannot be computedpublic double shapedBasisFunctionDerivative(double dblPredictorOrdinate,
int iOrder,
int iBasisFunctionIndex)
throws java.lang.Exception
BasisEvaluatorshapedBasisFunctionDerivative in interface BasisEvaluatordblPredictorOrdinate - The specified Predictor OrdinateiOrder - Order of the DerivativeiBasisFunctionIndex - Index representing the Basis Function in the Basis Function Setjava.lang.Exception - Thrown if the Ordered Derivative cannot be computedpublic double unshapedBasisFunctionDerivative(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate,
int iOrder)
throws java.lang.Exception
BasisEvaluatorunshapedBasisFunctionDerivative in interface BasisEvaluatoradblResponseBasisCoeff - Array of the Response Basis CoefficientsdblPredictorOrdinate - The specified Predictor OrdinateiOrder - Order of the Derivativejava.lang.Exception - Thrown if the Ordered Derivative of the Basis Function Set cannot be
computedpublic double responseValueDerivative(double[] adblResponseBasisCoeff,
double dblPredictorOrdinate,
int iOrder)
throws java.lang.Exception
BasisEvaluatorresponseValueDerivative in interface BasisEvaluatoradblResponseBasisCoeff - Array of the Response Basis CoefficientsdblPredictorOrdinate - The specified Predictor OrdinateiOrder - Order of the Derivativejava.lang.Exception - Thrown if the Response Value Derivative cannot be computed