Package org.drip.spline.bspline
Class BasisHatPairGenerator
java.lang.Object
org.drip.spline.bspline.BasisHatPairGenerator
public class BasisHatPairGenerator
extends java.lang.Object
BasisHatPairGenerator implements the generation functionality behind the hat basis function pair.
It provides the following functionality:
- Generate the array of the Hyperbolic Phy and Psy Hat Function Pair
- Generate the array of the Hyperbolic Phy and Psy Hat Function Pair From their Raw Counterparts
- Generate the array of the Cubic Rational Phy and Psy Hat Function Pair From their Raw Counterparts
- Generate the array of the Hat Function Pair From their Raw Counterparts
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PROCESSED_CUBIC_RATIONAL
Processed Cubic Rational B Spline Basis Hat Phy and Psystatic java.lang.String
PROCESSED_TENSION_HYPERBOLIC
Processed Tension Hyperbolic B Spline Basis Hat Phy and Psystatic java.lang.String
RAW_TENSION_HYPERBOLIC
Raw Tension Hyperbolic B Spline Basis Hat Phy and Psy -
Constructor Summary
Constructors Constructor Description BasisHatPairGenerator()
-
Method Summary
Modifier and Type Method Description static TensionBasisHat[]
GenerateHatPair(java.lang.String hatType, java.lang.String shapeControlType, double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, int derivativeOrder, double tension)
Generate the array of the Hat Function Pair From their Raw Counterpartsstatic TensionBasisHat[]
HyperbolicTensionHatPair(double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, double tension)
Generate the array of the Hyperbolic Phy and Psy Hat Function Pairstatic TensionBasisHat[]
ProcessedCubicRationalHatPair(java.lang.String shapeControlType, double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, int derivativeOrder, double tension)
Generate the array of the Cubic Rational Phy and Psy Hat Function Pair From their Raw Counterpartsstatic TensionBasisHat[]
ProcessedHyperbolicTensionHatPair(double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, int derivativeOrder, double tension)
Generate the array of the Hyperbolic Phy and Psy Hat Function Pair From their Raw CounterpartsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
RAW_TENSION_HYPERBOLIC
public static final java.lang.String RAW_TENSION_HYPERBOLICRaw Tension Hyperbolic B Spline Basis Hat Phy and Psy- See Also:
- Constant Field Values
-
PROCESSED_TENSION_HYPERBOLIC
public static final java.lang.String PROCESSED_TENSION_HYPERBOLICProcessed Tension Hyperbolic B Spline Basis Hat Phy and Psy- See Also:
- Constant Field Values
-
PROCESSED_CUBIC_RATIONAL
public static final java.lang.String PROCESSED_CUBIC_RATIONALProcessed Cubic Rational B Spline Basis Hat Phy and Psy- See Also:
- Constant Field Values
-
-
Constructor Details
-
BasisHatPairGenerator
public BasisHatPairGenerator()
-
-
Method Details
-
HyperbolicTensionHatPair
public static final TensionBasisHat[] HyperbolicTensionHatPair(double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, double tension)Generate the array of the Hyperbolic Phy and Psy Hat Function Pair- Parameters:
leadingPredictorOrdinate
- The Leading Predictor OrdinatefollowingPredictorOrdinate
- The Following Predictor OrdinatetrailingPredictorOrdinate
- The Trailing Predictor Ordinatetension
- Tension- Returns:
- The array of Hyperbolic Phy and Psy Hat Function Pair
-
ProcessedHyperbolicTensionHatPair
public static final TensionBasisHat[] ProcessedHyperbolicTensionHatPair(double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, int derivativeOrder, double tension)Generate the array of the Hyperbolic Phy and Psy Hat Function Pair From their Raw Counterparts- Parameters:
leadingPredictorOrdinate
- The Leading Predictor OrdinatefollowingPredictorOrdinate
- The Following Predictor OrdinatetrailingPredictorOrdinate
- The Trailing Predictor OrdinatederivativeOrder
- The Derivative Ordertension
- Tension- Returns:
- The array of Hyperbolic Phy and Psy Hat Function Pair
-
ProcessedCubicRationalHatPair
public static final TensionBasisHat[] ProcessedCubicRationalHatPair(java.lang.String shapeControlType, double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, int derivativeOrder, double tension)Generate the array of the Cubic Rational Phy and Psy Hat Function Pair From their Raw Counterparts- Parameters:
shapeControlType
- Type of the Shape Controller to be used - NONE, LINEAR/QUADRATIC RationalleadingPredictorOrdinate
- The Leading Predictor OrdinatefollowingPredictorOrdinate
- The Following Predictor OrdinatetrailingPredictorOrdinate
- The Trailing Predictor OrdinatederivativeOrder
- The Derivative Ordertension
- Tension- Returns:
- The array of Cubic Rational Phy and Psy Hat Function Pair
-
GenerateHatPair
public static final TensionBasisHat[] GenerateHatPair(java.lang.String hatType, java.lang.String shapeControlType, double leadingPredictorOrdinate, double followingPredictorOrdinate, double trailingPredictorOrdinate, int derivativeOrder, double tension)Generate the array of the Hat Function Pair From their Raw Counterparts- Parameters:
hatType
- The Primitive Hat TypeshapeControlType
- Type of the Shape Controller to be used - NONE, LINEAR/QUADRATIC RationalleadingPredictorOrdinate
- The Leading Predictor OrdinatefollowingPredictorOrdinate
- The Following Predictor OrdinatetrailingPredictorOrdinate
- The Trailing Predictor OrdinatederivativeOrder
- The Derivative Ordertension
- Tension- Returns:
- The array of Cubic Rational Phy and Psy Hat Function Pair
-