optimize.tests.test__numdiff

Module Contents

Functions

test_group_columns()
test_group_columns()
class TestAdjustSchemeToBounds
test_no_bounds()
test_with_bound()
test_tight_bounds()
class TestApproxDerivativesDense
fun_scalar_scalar(x)
jac_scalar_scalar(x)
fun_scalar_vector(x)
jac_scalar_vector(x)
fun_vector_scalar(x)
wrong_dimensions_fun(x)
jac_vector_scalar(x)
fun_vector_vector(x)
jac_vector_vector(x)
fun_parametrized(x, c0, c1=1.0)
jac_parametrized(x, c0, c1=0.1)
fun_with_nan(x)
jac_with_nan(x)
fun_zero_jacobian(x)
jac_zero_jacobian(x)
fun_non_numpy(x)
jac_non_numpy(x)
test_scalar_scalar()
test_scalar_vector()
test_vector_scalar()
test_vector_vector()
test_wrong_dimensions()
test_custom_rel_step()
test_options()
test_with_bounds_2_point()
test_with_bounds_3_point()
test_tight_bounds()
test_bound_switches()
test_non_numpy()
test_check_derivative()
class TestApproxDerivativeSparse
setup_method()
fun(x)
jac(x)
structure(n)
test_all()
test_no_precomputed_groups()
test_equivalence()
test_check_derivative()