edu.stanford.rsl.konrad.physics
Class HalfValueLayerFunction
java.lang.Object
edu.stanford.rsl.konrad.physics.HalfValueLayerFunction
- All Implemented Interfaces:
- edu.stanford.rsl.jpop.SimpleOptimizableFunction
public class HalfValueLayerFunction
- extends java.lang.Object
- implements edu.stanford.rsl.jpop.SimpleOptimizableFunction
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HalfValueLayerFunction
public HalfValueLayerFunction(double[] energies,
double[] spectrum,
LinearInterpolatingDoubleArray lida1,
LinearInterpolatingDoubleArray lida2,
LinearInterpolatingDoubleArray lida3)
evaluate
public double evaluate(double x)
- Specified by:
evaluate
in interface edu.stanford.rsl.jpop.SimpleOptimizableFunction
runOptimization
public void runOptimization()
getOptimalX
public double getOptimalX()