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()
BasisEvaluator
numBasis
in interface BasisEvaluator
public boolean setContainingInelastics(LatentStateInelastic ics)
BasisEvaluator
setContainingInelastics
in interface BasisEvaluator
ics
- The Inelastic Settingspublic BasisEvaluator replicate()
BasisEvaluator
replicate
in interface BasisEvaluator
public double shapedBasisFunctionResponse(double dblPredictorOrdinate, int iBasisFunctionIndex) throws java.lang.Exception
BasisEvaluator
shapedBasisFunctionResponse
in interface BasisEvaluator
dblPredictorOrdinate
- 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
BasisEvaluator
unshapedResponseValue
in interface BasisEvaluator
adblResponseBasisCoeff
- 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
BasisEvaluator
responseValue
in interface BasisEvaluator
adblResponseBasisCoeff
- 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
BasisEvaluator
shapedBasisFunctionDerivative
in interface BasisEvaluator
dblPredictorOrdinate
- 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
BasisEvaluator
unshapedBasisFunctionDerivative
in interface BasisEvaluator
adblResponseBasisCoeff
- 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
BasisEvaluator
responseValueDerivative
in interface BasisEvaluator
adblResponseBasisCoeff
- 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