Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
print('\n', name,' fmin =', fmin)
for algo in algorithms:
discrete_integral(name, algo)
def broyden_tridiagonal(name, opt):
tst_algo(opt, _tstoptfct.broyden_tridiagonal, name, npar)
name = 'broyden_tridiagonal'
x0, xmin, xmax, fmin = _tstoptfct.init(name, npar)
print('\n', name,' fmin =', fmin)
for algo in algorithms:
broyden_tridiagonal(name, algo)
def broyden_banded(name, opt):
tst_algo(opt, _tstoptfct.broyden_banded, name, npar)
name = 'broyden_banded'
x0, xmin, xmax, fmin = _tstoptfct.init(name, npar)
print('\n', name,' fmin =', fmin)
for algo in algorithms:
broyden_banded(name, algo)
def linear_fullrank(name, opt):
tst_algo(opt, _tstoptfct.linear_fullrank, name, npar)
name = 'linear_fullrank'
x0, xmin, xmax, fmin = _tstoptfct.init(name, npar)
print('\n', name,' fmin =', fmin)
for algo in algorithms:
linear_fullrank(name, algo)
def linear_fullrank1(name, opt):
tst_algo(opt, _tstoptfct.linear_fullrank, name, npar)
name = 'linear_fullrank1'
x0, xmin, xmax, fmin = _tstoptfct.init(name, npar)
def beale(name, opt):
tst_algo(opt, _tstoptfct.beale, name, npar)
name = 'beale'
def linear_fullrank1(name, opt):
tst_algo(opt, _tstoptfct.linear_fullrank, name, npar)
name = 'linear_fullrank1'
def variably_dimensioned(name, opt):
tst_algo(opt, _tstoptfct.variably_dimensioned, name, npar)
name = 'variably_dimensioned'
def discrete_boundary(name, opt):
tst_algo(opt, _tstoptfct.discrete_boundary, name, npar)
name = 'discrete_boundary'
def bard(name, opt):
tst_algo(opt, _tstoptfct.bard, name, 3 * npar)
name = 'bard'
def broyden_tridiagonal(name, opt):
tst_algo(opt, _tstoptfct.broyden_tridiagonal, name, npar)
name = 'broyden_tridiagonal'
def meyer(name, opt):
tst_algo(opt, _tstoptfct.meyer, name, 3)
name = 'meyer'
def watson(name, opt):
tst_algo(opt, _tstoptfct.watson, name, 6)
name = 'watson'
def chebyquad(name, opt):
tst_algo(opt, _tstoptfct.chebyquad, name, npar)
name = 'chebyquad'