net.finmath.fouriermethod.calibration.Unconstrained Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-lib Show documentation
Show all versions of finmath-lib Show documentation
finmath lib is a Mathematical Finance Library in Java.
It provides algorithms and methodologies related to mathematical finance.
package net.finmath.fouriermethod.calibration;
/**
* Absence of constraints.
*
* @author Alessandro Gnoatto
*
*/
public class Unconstrained extends BoundConstraint{
public Unconstrained() {
super(Double.NEGATIVE_INFINITY, Double.POSITIVE_INFINITY);
}
@Override
public double apply(final double parameterToTest) {
return parameterToTest;
}
}