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

Method minimizeOnce

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

Perform minimization with the simplex method once, including re-initialization until we have a stable solution. Use the 'getParams' method to access the result. @param initialParams Array with starting values of the parameters (variables). When null, the starting values

(double[] initialParams, double[] initialParamVariations)

Source from the content-addressed store, hash-verified

257 * target function has been found.
258 */
259 public int minimizeOnce(double[] initialParams, double[] initialParamVariations) {
260 status = SUCCESS;
261 minimizeOnce(initialParams, initialParamVariations, randomSeed);
262 return status;
263 }
264
265 /** Get the result, i.e., the set of parameter values (i.e., variable values)
266 * from the best corner of the simplex. Note that the array returned may have more

Callers 2

runMethod · 0.95
minimizeMethod · 0.95

Calls 7

makeSimplexMethod · 0.95
minimizeMethod · 0.95
valueMethod · 0.95
reInitializeSimplexMethod · 0.95
belowErrorLimitMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected