[Numpy-svn] r2993 - trunk/numpy/numarray

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Aug 10 18:31:57 CDT 2006


Author: oliphant
Date: 2006-08-10 18:31:53 -0500 (Thu, 10 Aug 2006)
New Revision: 2993

Modified:
   trunk/numpy/numarray/fft.py
   trunk/numpy/numarray/ma.py
   trunk/numpy/numarray/matrix.py
   trunk/numpy/numarray/mlab.py
   trunk/numpy/numarray/random_array.py
Log:
Finish adding the rest of numarray compatibility

Modified: trunk/numpy/numarray/fft.py
===================================================================
--- trunk/numpy/numarray/fft.py	2006-08-10 23:06:54 UTC (rev 2992)
+++ trunk/numpy/numarray/fft.py	2006-08-10 23:31:53 UTC (rev 2993)
@@ -0,0 +1,7 @@
+
+from numpy.oldnumeric.fft import *
+import numpy.oldnumeric.fft as nof
+
+__all__ = nof.__all__
+
+del nof

Modified: trunk/numpy/numarray/ma.py
===================================================================
--- trunk/numpy/numarray/ma.py	2006-08-10 23:06:54 UTC (rev 2992)
+++ trunk/numpy/numarray/ma.py	2006-08-10 23:31:53 UTC (rev 2993)
@@ -0,0 +1,2 @@
+
+from numpy.oldnumeric.ma import *

Modified: trunk/numpy/numarray/matrix.py
===================================================================
--- trunk/numpy/numarray/matrix.py	2006-08-10 23:06:54 UTC (rev 2992)
+++ trunk/numpy/numarray/matrix.py	2006-08-10 23:31:53 UTC (rev 2993)
@@ -0,0 +1,8 @@
+
+__all__ = ['Matrix']
+
+from numpy import matrix as _matrix
+
+def Matrix(data, typecode=None, copy=1, savespace=0):
+    return _matrix(data, typecode, copy=copy)
+

Modified: trunk/numpy/numarray/mlab.py
===================================================================
--- trunk/numpy/numarray/mlab.py	2006-08-10 23:06:54 UTC (rev 2992)
+++ trunk/numpy/numarray/mlab.py	2006-08-10 23:31:53 UTC (rev 2993)
@@ -0,0 +1,7 @@
+
+from numpy.oldnumeric.mlab import *
+import numpy.oldnumeric.mlab as nom
+
+__all__ = nom.__all__
+
+del nom

Modified: trunk/numpy/numarray/random_array.py
===================================================================
--- trunk/numpy/numarray/random_array.py	2006-08-10 23:06:54 UTC (rev 2992)
+++ trunk/numpy/numarray/random_array.py	2006-08-10 23:31:53 UTC (rev 2993)
@@ -0,0 +1,9 @@
+
+__all__ = ['ArgumentError', 'F', 'beta', 'binomial', 'chi_square',
+           'exponential', 'gamma', 'get_seed', 'multinomial',
+           'multivariate_normal', 'negative_binomial', 'noncentral_F',
+           'noncentral_chi_square', 'normal', 'permutation', 'poisson',
+           'randint', 'random', 'random_integers', 'standard_normal',
+           'uniform', 'seed']
+
+from numpy.oldnumeric.random_array import *



More information about the Numpy-svn mailing list