MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / evaluate

Method evaluate

ij/src/main/java/ij/measure/Minimizer.java:802–804  ·  view source on GitHub ↗

Evaluate the target function for the parameters given by 'vertex' The function value is stored into the last (extra) array element.

(double[] vertex)

Source from the content-addressed store, hash-verified

800 * The function value is stored into the last (extra) array element.
801 */
802 private void evaluate(double[] vertex) {
803 vertex[numParams] = userFunction.userFunction(vertex, 0);
804 }
805
806 /** Function value of a vertex after call to 'evaluate'
807 * (stored it as last array element) */

Callers 6

minimizeMethod · 0.95
getVertexAndEvaluateMethod · 0.95
makeSimplexMethod · 0.95
findValidInitalParamsMethod · 0.95
initializeSimplexMethod · 0.95

Calls 1

userFunctionMethod · 0.65

Tested by

no test coverage detected