public class LeftHatShapeControl extends BasisHatShapeControl
SHAPE_CONTROL_RATIONAL_EXPONENTIAL, SHAPE_CONTROL_RATIONAL_LINEAR, SHAPE_CONTROL_RATIONAL_QUADRATIC
Constructor and Description |
---|
LeftHatShapeControl(double dblLeftPredictorOrdinate,
double dblRightPredictorOrdinate,
java.lang.String strShapeControlType,
double dblTension)
LeftHatShapeControl constructor
|
Modifier and Type | Method and Description |
---|---|
double |
derivative(double dblPredictorOrdinate,
int iOrder)
Calculate the derivative as a double
|
double |
evaluate(double dblPredictorOrdinate)
Evaluate for the given variate
|
double |
integrate(double dblBegin,
double dblEnd)
Integrate over the given range
|
double |
normalizer()
Compute the Normalizer
|
shapeControlType
in, left, right, tension
differential, differential, maxima, maxima, minima, minima
public LeftHatShapeControl(double dblLeftPredictorOrdinate, double dblRightPredictorOrdinate, java.lang.String strShapeControlType, double dblTension) throws java.lang.Exception
dblLeftPredictorOrdinate
- The Left Predictor OrdinatedblRightPredictorOrdinate
- The Right Predictor OrdinatestrShapeControlType
- Type of the Shape Controller to be used - NONE, LINEAR/QUADRATIC RationaldblTension
- Tension of the Tension Hat Functionjava.lang.Exception
- Thrown if the input is invalidpublic double evaluate(double dblPredictorOrdinate) throws java.lang.Exception
R1ToR1
public double derivative(double dblPredictorOrdinate, int iOrder) throws java.lang.Exception
R1ToR1
derivative
in class R1ToR1
dblPredictorOrdinate
- Variate at which the derivative is to be calculatediOrder
- Order of the derivative to be computedjava.lang.Exception
- Thrown if Inputs are Invalidpublic double integrate(double dblBegin, double dblEnd) throws java.lang.Exception
R1ToR1
public double normalizer() throws java.lang.Exception
TensionBasisHat
normalizer
in class TensionBasisHat
java.lang.Exception
- Thrown if the Normalizer cannot be computed