|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.bme.smile.commons.optimize.MinToMax1DDifferentiable
public class MinToMax1DDifferentiable
Finds the maximum of Diffentiable 1D functions by negating the function and finding the minimum.
Constructor Summary | |
---|---|
MinToMax1DDifferentiable(Optimizable1DContinuousDifferentiable func)
Constructor to create the negated function |
Method Summary | |
---|---|
double |
get2ndDerivative(double x)
Gets the negated second derivative |
double |
getDerivative(double x)
Gets the negated derivative |
double |
getDomainMax()
Gets the domain maximum |
double |
getDomainMin()
Gets the domain minimum |
double |
getDomainTolerance()
Gets the tolerance |
double |
getValue(double x)
Gets the negated value |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinToMax1DDifferentiable(Optimizable1DContinuousDifferentiable func)
func
- function to negateMethod Detail |
---|
public double get2ndDerivative(double x)
get2ndDerivative
in interface Optimizable1DContinuousDifferentiable
x
- location to calculate derivative
public double getDerivative(double x)
getDerivative
in interface Optimizable1DContinuousDifferentiable
x
- location to calculate derivative
public double getDomainMax()
getDomainMax
in interface Optimizable1DContinuous
public double getDomainMin()
getDomainMin
in interface Optimizable1DContinuous
public double getDomainTolerance()
getDomainTolerance
in interface Optimizable1DContinuous
public double getValue(double x)
getValue
in interface Optimizable1DContinuous
x
- location to get value at
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |