|
|||||||||
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.ProjectNDto1DOptimizable edu.jhu.bme.smile.commons.optimize.ProjectNDto1DOptimizableDifferentiable
public class ProjectNDto1DOptimizableDifferentiable
Projects a Differentiable ND function to 1D so that LineSearchNDDifferentiable can optimize in one dimension at a time.
Constructor Summary | |
---|---|
ProjectNDto1DOptimizableDifferentiable(OptimizableNDContinuousDifferentiable func)
Constructor to create the projected differentiable function. |
Method Summary | |
---|---|
double |
get2ndDerivative(double x)
Gets the second derivative at location x in the current dimension. |
double |
getDerivative(double x)
Gets the derivative at location x in the current dimension. |
Methods inherited from class edu.jhu.bme.smile.commons.optimize.ProjectNDto1DOptimizable |
---|
getDomainMax, getDomainMin, getDomainTolerance, getNumberOfDimensions, getValue, setCurrentDimension, setCurrentLocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface edu.jhu.bme.smile.commons.optimize.Optimizable1DContinuous |
---|
getDomainMax, getDomainMin, getDomainTolerance, getValue |
Constructor Detail |
---|
public ProjectNDto1DOptimizableDifferentiable(OptimizableNDContinuousDifferentiable func)
func
- differentiable functionMethod Detail |
---|
public double get2ndDerivative(double x)
get2ndDerivative
in interface Optimizable1DContinuousDifferentiable
x
- location to evaluate derivative
public double getDerivative(double x)
getDerivative
in interface Optimizable1DContinuousDifferentiable
x
- location to evaluate derivative
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |