Package org.drip.measure.bridge
Class BrokenDateInterpolatorSqrtT
java.lang.Object
org.drip.measure.bridge.BrokenDateInterpolatorSqrtT
- All Implemented Interfaces:
BrokenDateInterpolator
public class BrokenDateInterpolatorSqrtT extends java.lang.Object implements BrokenDateInterpolator
BrokenDateInterpolatorSqrtT Interpolates using Two Stochastic Value Nodes with Linear Scheme. The
Scheme is Linear in Square Root of Time. It provides the following Functionality:
- BrokenDateInterpolatorSqrtT Constructor
- Retrieve T1
- Retrieve T2
- Retrieve V1
- Retrieve V2
- Interpolate the Value at T
| Module | Computational Core Module |
| Library | Numerical Analysis Library |
| Project | Rd Continuous/Discrete Probability Measures |
| Package | Broken Date Brownian Bridge Interpolator |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description BrokenDateInterpolatorSqrtT(double t1, double t2, double v1, double v2)BrokenDateInterpolatorSqrtT Constructor -
Method Summary
Modifier and Type Method Description doubleinterpolate(double t)Interpolate the Value at Tdoublet1()Retrieve T1doublet2()Retrieve T2doublev1()Retrieve V1doublev2()Retrieve V2Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BrokenDateInterpolatorSqrtT
public BrokenDateInterpolatorSqrtT(double t1, double t2, double v1, double v2) throws java.lang.ExceptionBrokenDateInterpolatorSqrtT Constructor- Parameters:
t1- T1t2- T2v1- V1v2- V2- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
t1
public double t1()Retrieve T1- Returns:
- T1
-
t2
public double t2()Retrieve T2- Returns:
- T2
-
v1
public double v1()Retrieve V1- Returns:
- V1
-
v2
public double v2()Retrieve V2- Returns:
- V2
-
interpolate
public double interpolate(double t) throws java.lang.ExceptionInterpolate the Value at T- Specified by:
interpolatein interfaceBrokenDateInterpolator- Parameters:
t- T- Returns:
- The Interpolated Value
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-