MCPcopy Create free account
hub / github.com/dhale/jtk / solve

Method solve

core/src/main/java/edu/mines/jtk/opt/ScalarSolver.java:75–215  ·  view source on GitHub ↗

Minimize a function of scalar and return the optimum value. @param scalarMin The minimum value allowed for the argument scalar. @param scalarMax The maximum value allowed for the argument scalar. @param okError The unknown error in scalar should be less than this

(final double scalarMin, final double scalarMax,
                        final double okError, final double okFraction,
                        final int numberIterations, Monitor monitor)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

testLinearObjFuncMethod · 0.95
testRightHandSideMethod · 0.95
testLeftHandSide2Method · 0.95
testParabolaMethod · 0.95
testPositiveCurvatureMethod · 0.95
testStepFunctionMethod · 0.95
solveMethod · 0.95

Calls 7

functionMethod · 0.95
sortMethod · 0.95
minParabolaMethod · 0.95
divideMethod · 0.80
reportMethod · 0.65
isCanceledMethod · 0.65
equalMethod · 0.45

Tested by 7

testLinearObjFuncMethod · 0.76
testRightHandSideMethod · 0.76
testLeftHandSide2Method · 0.76
testParabolaMethod · 0.76
testPositiveCurvatureMethod · 0.76
testStepFunctionMethod · 0.76