public class ConstantNormalizer extends Object implements NormalizingFunction
| Constructor and Description |
|---|
ConstantNormalizer() |
| Modifier and Type | Method and Description |
|---|---|
double |
getFirstDerivative(double swapRate)
Return the first derivative of the normalizing function at the given swap rate.
|
double |
getSecondDerivative(double swapRate)
Return the second derivative of the normalizing function at the given swap rate.
|
double |
getValue(double swapRate)
Return the value of the normalizing function for the given swap rate.
|
public double getValue(double swapRate)
NormalizingFunctiongetValue in interface NormalizingFunctionswapRate - The desired swap ratepublic double getFirstDerivative(double swapRate)
NormalizingFunctiongetFirstDerivative in interface NormalizingFunctionswapRate - The desired swap rate.public double getSecondDerivative(double swapRate)
NormalizingFunctiongetSecondDerivative in interface NormalizingFunctionswapRate - The desired swap rate.Copyright © 2019. All rights reserved.