Package org.drip.state.creator
Class ScenarioTermStructureBuilder
java.lang.Object
org.drip.state.creator.ScenarioTermStructureBuilder
public class ScenarioTermStructureBuilder
extends java.lang.Object
ScenarioTermStructureBuilder implements the construction of the basis spline term structure using
the input instruments and their quotes. It implements the following Functions:
- Construct a Term Structure Instance using the specified Custom Spline
- Construct a Term Structure Instance based off of a Cubic Polynomial Spline
- Construct a Term Structure Instance based off of a Quartic Polynomial Spline
- Construct a Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Spline
- Construct a Term Structure Instance based off of a KLK Hyperbolic Tension Spline
- Construct a Term Structure Instance based off of a KLK Rational Linear Tension Spline
- Construct a Term Structure Instance based off of a KLK Rational Quadratic Tension Spline
Module | Product Core Module |
Library | Fixed Income Analytics |
Project | Latent State Inference and Creation Utilities |
Package | Scenario State Curve/Surface Builders |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description ScenarioTermStructureBuilder()
-
Method Summary
Modifier and Type Method Description static NodeStructure
CubicPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray)
Construct a Term Structure Instance based off of a Cubic Polynomial Splinestatic NodeStructure
CustomSplineTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, double[] dateArray, double[] nodeArray, SegmentCustomBuilderControl segmentCustomBuilderControl)
Construct a Term Structure Instance using the specified Custom Splinestatic NodeStructure
KaklisPandelisTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray)
Construct a Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Splinestatic NodeStructure
KLKHyperbolicTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray, double tension)
Construct a Term Structure Instance based off of a KLK Hyperbolic Tension Splinestatic NodeStructure
KLKRationalLinearTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray, double tension)
Construct a Term Structure Instance based off of a KLK Rational Linear Tension Splinestatic NodeStructure
KLKRationalQuadraticTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray, double tension)
Construct a Term Structure Instance based off of a KLK Rational Quadratic Tension Splinestatic NodeStructure
QuarticPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray)
Construct a Term Structure Instance based off of a Quartic Polynomial SplineMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ScenarioTermStructureBuilder
public ScenarioTermStructureBuilder()
-
-
Method Details
-
CustomSplineTermStructure
public static final NodeStructure CustomSplineTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, double[] dateArray, double[] nodeArray, SegmentCustomBuilderControl segmentCustomBuilderControl)Construct a Term Structure Instance using the specified Custom Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencydateArray
- Array of DatesnodeArray
- Array of Term Structure NodessegmentCustomBuilderControl
- Segment Custom Builder Parameters- Returns:
- Instance of the Term Structure
-
CubicPolynomialTermStructure
public static final NodeStructure CubicPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray)Construct a Term Structure Instance based off of a Cubic Polynomial Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsnodeArray
- Array of Term Structure Nodes- Returns:
- The Term Structure Instance based off of a Cubic Polynomial Spline
-
QuarticPolynomialTermStructure
public static final NodeStructure QuarticPolynomialTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray)Construct a Term Structure Instance based off of a Quartic Polynomial Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsnodeArray
- Array of Term Structure Nodes- Returns:
- The Term Structure Instance based off of a Quartic Polynomial Spline
-
KaklisPandelisTermStructure
public static final NodeStructure KaklisPandelisTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray)Construct a Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsnodeArray
- Array of Term Structure Nodes- Returns:
- The Term Structure Instance based off of a Kaklis-Pandelis Polynomial Tension Spline
-
KLKHyperbolicTermStructure
public static final NodeStructure KLKHyperbolicTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray, double tension)Construct a Term Structure Instance based off of a KLK Hyperbolic Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsnodeArray
- Array of Term Structure Nodestension
- Tension- Returns:
- The Term Structure Instance based off of a KLK Hyperbolic Tension Spline
-
KLKRationalLinearTermStructure
public static final NodeStructure KLKRationalLinearTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray, double tension)Construct a Term Structure Instance based off of a KLK Rational Linear Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsnodeArray
- Array of Term Structure Nodestension
- Tension- Returns:
- The Term Structure Instance based off of a KLK Rational Linear Tension Spline
-
KLKRationalQuadraticTermStructure
public static final NodeStructure KLKRationalQuadraticTermStructure(java.lang.String name, JulianDate startDate, java.lang.String currency, java.lang.String[] tenorArray, double[] nodeArray, double tension)Construct a Term Structure Instance based off of a KLK Rational Quadratic Tension Spline- Parameters:
name
- Name of the the Term Structure InstancestartDate
- The Start Datecurrency
- CurrencytenorArray
- Array of TenorsnodeArray
- Array of Term Structure Nodestension
- Tension- Returns:
- The Term Structure Instance based off of a KLK Rational Quadratic Tension Spline
-