Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/scipy/_lib/array_api_compat/numpy/__init__.py: 14%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

7 statements  

1from numpy import * 

2 

3# from numpy import * doesn't overwrite these builtin names 

4from numpy import abs, max, min, round 

5 

6# These imports may overwrite names from the import * above. 

7from ._aliases import * 

8 

9# Don't know why, but we have to do an absolute import to import linalg. If we 

10# instead do 

11# 

12# from . import linalg 

13# 

14# It doesn't overwrite np.linalg from above. The import is generated 

15# dynamically so that the library can be vendored. 

16__import__(__package__ + '.linalg') 

17 

18from .linalg import matrix_transpose, vecdot 

19 

20from ..common._helpers import * 

21 

22__array_api_version__ = '2022.12'