- java.lang.Object
-
- org.quantlib.FittingMethod
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
CubicBSplinesFitting,ExponentialSplinesFitting,NelsonSiegelFitting,SimplePolynomialFitting,SpreadFittingMethod,SvenssonFitting
public class FittingMethod extends Object implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedFittingMethod(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconstrainAtZero()voiddelete()protected voidfinalize()protected static longgetCPtr(FittingMethod obj)doubleminimumCostValue()intnumberOfIterations()longsize()Arraysolution()protected voidswigSetCMemOwn(boolean own)Arrayweights()
-
-
-
Constructor Detail
-
FittingMethod
protected FittingMethod(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(FittingMethod obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
size
public long size()
-
numberOfIterations
public int numberOfIterations()
-
minimumCostValue
public double minimumCostValue()
-
constrainAtZero
public boolean constrainAtZero()
-
-