Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
opt
/
alt
/
python35
/
lib64
/
python3.5
/
site-packages
/
numpy
/
core
/
File Content:
__init__.py
from __future__ import division, absolute_import, print_function from .info import __doc__ from numpy.version import version as __version__ # disables OpenBLAS affinity setting of the main thread that limits # python threads or processes to one core import os env_added = [] for envkey in ['OPENBLAS_MAIN_FREE', 'GOTOBLAS_MAIN_FREE']: if envkey not in os.environ: os.environ[envkey] = '1' env_added.append(envkey) from . import multiarray for envkey in env_added: del os.environ[envkey] del envkey del env_added del os from . import umath from . import _internal # for freeze programs from . import numerictypes as nt multiarray.set_typeDict(nt.sctypeDict) from . import numeric from .numeric import * from . import fromnumeric from .fromnumeric import * from . import defchararray as char from . import records as rec from .records import * from .memmap import * from .defchararray import chararray from . import function_base from .function_base import * from . import machar from .machar import * from . import getlimits from .getlimits import * from . import shape_base from .shape_base import * del nt from .fromnumeric import amax as max, amin as min, round_ as round from .numeric import absolute as abs __all__ = ['char', 'rec', 'memmap'] __all__ += numeric.__all__ __all__ += fromnumeric.__all__ __all__ += rec.__all__ __all__ += ['chararray'] __all__ += function_base.__all__ __all__ += machar.__all__ __all__ += getlimits.__all__ __all__ += shape_base.__all__ from numpy.testing.nosetester import _numpy_tester test = _numpy_tester().test bench = _numpy_tester().bench # Make it possible so that ufuncs can be pickled # Here are the loading and unloading functions # The name numpy.core._ufunc_reconstruct must be # available for unpickling to work. def _ufunc_reconstruct(module, name): # The `fromlist` kwarg is required to ensure that `mod` points to the # inner-most module rather than the parent package when module name is # nested. This makes it possible to pickle non-toplevel ufuncs such as # scipy.special.expit for instance. mod = __import__(module, fromlist=[name]) return getattr(mod, name) def _ufunc_reduce(func): from pickle import whichmodule name = func.__name__ return _ufunc_reconstruct, (whichmodule(func, name), name) import sys if sys.version_info[0] >= 3: import copyreg else: import copy_reg as copyreg copyreg.pickle(ufunc, _ufunc_reduce, _ufunc_reconstruct) # Unclutter namespace (must keep _ufunc_reconstruct for unpickling) del copyreg del sys del _ufunc_reduce
Submit
FILE
FOLDER
Name
Size
Permission
Action
__pycache__
---
0755
include
---
0755
lib
---
0755
tests
---
0755
__init__.py
2586 bytes
0644
_dummy.cpython-35m-x86_64-linux-gnu.so
7152 bytes
0755
_internal.py
18264 bytes
0644
_methods.py
4308 bytes
0644
arrayprint.py
25597 bytes
0644
cversions.py
413 bytes
0644
defchararray.py
67850 bytes
0644
fromnumeric.py
99350 bytes
0644
function_base.py
6891 bytes
0644
generate_numpy_api.py
7417 bytes
0644
getlimits.py
9714 bytes
0644
info.py
4690 bytes
0644
machar.py
10790 bytes
0644
memmap.py
10378 bytes
0644
multiarray.cpython-35m-x86_64-linux-gnu.so
1612632 bytes
0755
multiarray_tests.cpython-35m-x86_64-linux-gnu.so
50200 bytes
0755
numeric.py
88743 bytes
0644
numerictypes.py
28784 bytes
0644
operand_flag_tests.cpython-35m-x86_64-linux-gnu.so
11384 bytes
0755
records.py
29435 bytes
0644
setup.py
40998 bytes
0644
setup_common.py
14166 bytes
0644
shape_base.py
9051 bytes
0644
struct_ufunc_test.cpython-35m-x86_64-linux-gnu.so
11344 bytes
0755
test_rational.cpython-35m-x86_64-linux-gnu.so
45800 bytes
0755
umath.cpython-35m-x86_64-linux-gnu.so
797320 bytes
0755
umath_tests.cpython-35m-x86_64-linux-gnu.so
19976 bytes
0755
N4ST4R_ID | Naxtarrr