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.
- 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 dblT1, double dblT2, double dblV1, double dblV2)BrokenDateInterpolatorSqrtT Constructor -
Method Summary
Modifier and Type Method Description doubleinterpolate(double dblT)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 dblT1, double dblT2, double dblV1, double dblV2) throws java.lang.ExceptionBrokenDateInterpolatorSqrtT Constructor- Parameters:
dblT1- T1dblT2- T2dblV1- V1dblV2- 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 dblT) throws java.lang.ExceptionDescription copied from interface:BrokenDateInterpolatorInterpolate the Value at T- Specified by:
interpolatein interfaceBrokenDateInterpolator- Parameters:
dblT- T- Returns:
- The Interpolated Value
- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-