public abstract class TransactionFunction extends R1ToR1
Modifier and Type | Method and Description |
---|---|
double |
crossHoldingsDerivative(double dblTradeAmount,
double dblTradeInterval)
Compute the Second Order Sensitivity to the Left/Right Holdings
|
double |
evaluate(double dblTradeAmount,
double dblTradeInterval)
Evaluate the Impact Function at the specified Trade Parameters
|
double |
leftHoldingsDerivative(double dblTradeAmount,
double dblTradeInterval,
int iOrder)
Compute the Sensitivity to the Left Holdings
|
abstract double |
modulate(double dblTradeInterval)
Modulate/Scale the Impact Output
|
abstract double |
regularize(double dblTradeInterval)
Regularize the Input Function using the specified Trade Inputs
|
double |
rightHoldingsDerivative(double dblTradeAmount,
double dblTradeInterval,
int iOrder)
Compute the Sensitivity to the Right Holdings
|
derivative, differential, differential, evaluate, integrate, maxima, maxima, minima, minima
public abstract double regularize(double dblTradeInterval) throws java.lang.Exception
dblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalidpublic abstract double modulate(double dblTradeInterval) throws java.lang.Exception
dblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalidpublic double evaluate(double dblTradeAmount, double dblTradeInterval) throws java.lang.Exception
dblTradeAmount
- The Trade AmountdblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalidpublic double leftHoldingsDerivative(double dblTradeAmount, double dblTradeInterval, int iOrder) throws java.lang.Exception
dblTradeAmount
- The Trade AmountdblTradeInterval
- The Trade IntervaliOrder
- Order of the Derivativejava.lang.Exception
- Thrown if the Inputs are Invalidpublic double rightHoldingsDerivative(double dblTradeAmount, double dblTradeInterval, int iOrder) throws java.lang.Exception
dblTradeAmount
- The Trade AmountdblTradeInterval
- The Trade IntervaliOrder
- Order of the Derivativejava.lang.Exception
- Thrown if the Inputs are Invalidpublic double crossHoldingsDerivative(double dblTradeAmount, double dblTradeInterval) throws java.lang.Exception
dblTradeAmount
- The Trade AmountdblTradeInterval
- The Trade Intervaljava.lang.Exception
- Thrown if the Inputs are Invalid