public class BoundarySettings
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BOUNDARY_CONDITION_FINANCIAL
Calibration Boundary Condition: Financial Boundary Condition
|
static int |
BOUNDARY_CONDITION_FLOATING
Calibration Boundary Condition: Floating Boundary Condition
|
static int |
BOUNDARY_CONDITION_NATURAL
Calibration Boundary Condition: Natural Boundary Condition
|
static int |
BOUNDARY_CONDITION_NOT_A_KNOT
Calibration Boundary Condition: Not-A-Knot Boundary Condition
|
Constructor and Description |
---|
BoundarySettings(int iLeftDerivOrder,
int iRightDerivOrder,
int iBoundaryConditionType)
BoundarySettings constructor
|
Modifier and Type | Method and Description |
---|---|
int |
boundaryCondition()
Retrieve the Type of the Boundary Condition
|
static BoundarySettings |
FinancialStandard()
Return the Instance of the Standard Financial Boundary Condition
|
static BoundarySettings |
FloatingStandard()
Return the Instance of the Standard Floating Boundary Condition
|
int |
leftDerivOrder()
Retrieve the Order of the Left Derivative
|
static BoundarySettings |
NaturalStandard()
Return the Instance of the Standard Natural Boundary Condition
|
static BoundarySettings |
NotAKnotStandard(int iLeftDerivOrder,
int iRightDerivOrder)
Return the Instance of the Standard Not-A-Knot Boundary Condition
|
int |
rightDerivOrder()
Retrieve the Order of the Right Derivative
|
public static final int BOUNDARY_CONDITION_FLOATING
public static final int BOUNDARY_CONDITION_NATURAL
public static final int BOUNDARY_CONDITION_FINANCIAL
public static final int BOUNDARY_CONDITION_NOT_A_KNOT
public BoundarySettings(int iLeftDerivOrder, int iRightDerivOrder, int iBoundaryConditionType) throws java.lang.Exception
iLeftDerivOrder
- Order of the Left DerivativeiRightDerivOrder
- Order of the Right DerivativeiBoundaryConditionType
- Type of the Boundary Condition - NATURAL/FINANCIAL/NOT_A_KNOTjava.lang.Exception
- Thrown if Inputs are invalidpublic static final BoundarySettings NaturalStandard()
public static final BoundarySettings FloatingStandard()
public static final BoundarySettings FinancialStandard()
public static final BoundarySettings NotAKnotStandard(int iLeftDerivOrder, int iRightDerivOrder)
iLeftDerivOrder
- Order of the Left DerivativeiRightDerivOrder
- Order of the Right Derivativepublic int leftDerivOrder()
public int rightDerivOrder()
public int boundaryCondition()