|
|||||||||
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.MinToMax1D
public class MinToMax1D
Finds the maximum of 1D functions by negating the function and finding the minimum.
Constructor Summary | |
---|---|
MinToMax1D(Optimizable1DContinuous func)
Constructor to create the negated function |
Method Summary | |
---|---|
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 MinToMax1D(Optimizable1DContinuous func)
func
- function to negateMethod Detail |
---|
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 |