nonlin.py 710 B

1234567891011121314151617181920212223242526272829
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.optimize` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'BroydenFirst',
  7. 'InverseJacobian',
  8. 'KrylovJacobian',
  9. 'anderson',
  10. 'broyden1',
  11. 'broyden2',
  12. 'diagbroyden',
  13. 'excitingmixing',
  14. 'linearmixing',
  15. 'newton_krylov',
  16. ]
  17. def __dir__():
  18. return __all__
  19. def __getattr__(name):
  20. return _sub_module_deprecation(sub_package="optimize", module="nonlin",
  21. private_modules=["_nonlin"], all=__all__,
  22. attribute=name)