blob: 107afcd009451450648429329e5fae0feb9cc33c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
"""\
NumPy
==========
You can support the development of NumPy and SciPy by purchasing
documentation at
http://www.trelgol.com
It is being distributed for a fee for a limited time to try and raise
money for development.
Documentation is also available in the docstrings.
Available subpackages
---------------------
"""
import os as _os
import sys as _sys
NUMPY_IMPORT_VERBOSE = int(_os.environ.get('NUMPY_IMPORT_VERBOSE','0'))
try:
from __config__ import show as show_config
except ImportError:
show_config = None
try:
import pkg_resources as _pk # activate namespace packages (manipulates __path__)
del _pk
except ImportError:
pass
if show_config is None:
print >> _sys.stderr, 'Running from numpy source directory.'
else:
from version import version as __version__
from testing import ScipyTest
from core import *
from lib import *
from dft import fft, ifft
from random import rand, randn
__all__ = ['ScipyTest','fft','ifft','rand','randn']
__all__ += core.__all__
__all__ += lib.__all__
__all__ = filter(lambda s:not s.startswith('_'),dir())
test = ScipyTest('numpy').test
import add_newdocs
# TODO: Fix __doc__
del _os, _sys
|