matfuncs.py 744 B

1234567891011121314151617181920212223
  1. # This file is not meant for public use and will be removed in SciPy v2.0.0.
  2. # Use the `scipy.linalg` namespace for importing the functions
  3. # included below.
  4. from scipy._lib.deprecation import _sub_module_deprecation
  5. __all__ = [ # noqa: F822
  6. 'expm', 'cosm', 'sinm', 'tanm', 'coshm', 'sinhm',
  7. 'tanhm', 'logm', 'funm', 'signm', 'sqrtm',
  8. 'expm_frechet', 'expm_cond', 'fractional_matrix_power',
  9. 'khatri_rao', 'norm', 'solve', 'inv', 'svd', 'schur', 'rsf2csf'
  10. ]
  11. def __dir__():
  12. return __all__
  13. def __getattr__(name):
  14. return _sub_module_deprecation(sub_package="linalg", module="matfuncs",
  15. private_modules=["_matfuncs"], all=__all__,
  16. attribute=name)