diff options
author | Pauli Virtanen <pav@iki.fi> | 2013-04-08 23:19:05 +0300 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2013-04-10 22:47:44 +0300 |
commit | 35f4b174ff4fd2ea02052a697e5354408aa99e81 (patch) | |
tree | e43c03776d59ae9b25d4768a5f74fb426b64a8bd | |
parent | e7a54dae03facf904b670e0619e429290b65051e (diff) | |
download | numpy-35f4b174ff4fd2ea02052a697e5354408aa99e81.tar.gz |
MAINT: mark gufuncs_linalg.py as a internal testing-only module
-rw-r--r-- | numpy/core/setup.py | 2 | ||||
-rw-r--r-- | numpy/core/src/umath/_gufuncs_linalg.py (renamed from numpy/core/src/umath/gufuncs_linalg.py) | 3 | ||||
-rw-r--r-- | numpy/core/tests/test_gufuncs_linalg.py | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 25a106a41..a3c61b482 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -950,7 +950,7 @@ def configuration(parent_package='',top_path=None): join('src', 'umath', 'lapack_lite', 'dlamch.c'), join('src', 'umath', 'lapack_lite', 'f2c_lite.c') ], - depends = [join('src', 'umath', 'gufuncs_linalg.py'), + depends = [join('src', 'umath', '_gufuncs_linalg.py'), join('src', 'umath', 'lapack_lite', 'f2c.h'), ], extra_info = lapack_info, diff --git a/numpy/core/src/umath/gufuncs_linalg.py b/numpy/core/src/umath/_gufuncs_linalg.py index 4574f595f..49e6c95e3 100644 --- a/numpy/core/src/umath/gufuncs_linalg.py +++ b/numpy/core/src/umath/_gufuncs_linalg.py @@ -3,6 +3,9 @@ Notes ----- +.. warning:: This module is only for testing, the functionality will be + integrated into numpy.linalg proper. + This module contains functionality that could be found in the linalg module, but in a gufunc-like way. This allows the use of vectorization and broadcasting on the operands. diff --git a/numpy/core/tests/test_gufuncs_linalg.py b/numpy/core/tests/test_gufuncs_linalg.py index 34af58a7c..f2d407871 100644 --- a/numpy/core/tests/test_gufuncs_linalg.py +++ b/numpy/core/tests/test_gufuncs_linalg.py @@ -58,7 +58,7 @@ from numpy.testing import (TestCase, assert_, assert_equal, assert_raises, from numpy import array, single, double, csingle, cdouble, dot, identity from numpy import multiply, inf -import numpy.core.gufuncs_linalg as gula +import numpy.core._gufuncs_linalg as gula old_assert_almost_equal = assert_almost_equal |