Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 2to3: Apply `print` fixer. | Charles Harris | 2013-04-06 | 3 | -3/+3 |
| | | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078. | ||||
* | Merge pull request #2965 from charris/fix-qr-mode | Charles Harris | 2013-04-04 | 2 | -0/+128 |
|\ | | | | | Fix qr mode | ||||
| * | TST: Add more tests for qr factorization. | Charles Harris | 2013-04-01 | 2 | -0/+128 |
| | | | | | | | | | | | | | | | | The new tests cover the new modes 'complete' and 'raw'. The testing of the 'reduced', aka 'full' mode is improved and tests are added for the deprecation of the 'full' and 'economic' modes. A new file `numpy/linalg/tests/test_deprecations.py` was added for the deprecation tests. | ||||
* | | 2to3: Use absolute imports. | Charles Harris | 2013-03-28 | 3 | -3/+3 |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new import `absolute_import` is added the `from __future__ import` statement and The 2to3 `import` fixer is run to make the imports compatible. There are several things that need to be dealt with to make this work. 1) Files meant to be run as scripts run in a different environment than files imported as part of a package, and so changes to those files need to be skipped. The affected script files are: * all setup.py files * numpy/core/code_generators/generate_umath.py * numpy/core/code_generators/generate_numpy_api.py * numpy/core/code_generators/generate_ufunc_api.py 2) Some imported modules are not available as they are created during the build process and consequently 2to3 is unable to handle them correctly. Files that import those modules need a bit of extra work. The affected files are: * core/__init__.py, * core/numeric.py, * core/_internal.py, * core/arrayprint.py, * core/fromnumeric.py, * numpy/__init__.py, * lib/npyio.py, * lib/function_base.py, * fft/fftpack.py, * random/__init__.py Closes #3172 | ||||
* | 2to3: Put `from __future__ import division in every python file. | Charles Harris | 2013-03-01 | 3 | -0/+6 |
| | | | | | | | | This should be harmless, as we already are division clean. However, placement of this import takes some care. In the future a script can be used to append new features without worry, at least until such time as it exceeds a single line. Having that ability will make it easier to deal with absolute imports and printing updates. | ||||
* | 2to3: Use modern exception syntax. | Charles Harris | 2013-02-26 | 1 | -1/+1 |
| | | | | Example: except ValueError,msg: -> except ValueError as msg: | ||||
* | BUG: change default threshold for matrix_rank | Matthew Brett | 2012-07-14 | 1 | -1/+16 |
| | | | | | | | The default tolerance threshold for matrix_rank was passing as full rank some matrices that were numerically rank deficient. This commit changes the default tolerance to match the algorithm in MATLAB and Numerical recipes. | ||||
* | BUG: native but not '=' byte order error in lapack | Matthew Brett | 2012-03-17 | 1 | -0/+22 |
| | | | | | | The check_object call in lapack_litemodule was checking if the passed array was of byteorder '=' or '|', but this check failed for arrays of specified native byte order ('<' on little-endian). | ||||
* | PY3: Fix FindDependenciesLdd "ResourceWarning: unclosed file". | Charles Harris | 2012-03-12 | 1 | -1/+2 |
| | |||||
* | STY: Cleanup test_linalg a bit. | Charles Harris | 2011-05-10 | 1 | -22/+42 |
| | |||||
* | TST: Add test for QR on empty array | Skipper Seabold | 2011-05-10 | 1 | -0/+5 |
| | |||||
* | STY: Replace assert by assert_ in tests. There remain 124 uses of | Charles Harris | 2011-04-05 | 1 | -8/+8 |
| | | | | assert in non-testing files that should be checked for correctness. | ||||
* | STY: Replace old style classes in tests with classes subclassing object. | Charles Harris | 2011-04-05 | 2 | -4/+4 |
| | |||||
* | BUG: Python 2.4 doesn't accept the construction class foo(): | Charles Harris | 2011-04-05 | 1 | -1/+1 |
| | |||||
* | BUG: fix tests in test_linalg.py. Do not subclass from TestCase. | Ralf Gommers | 2011-04-03 | 1 | -6/+6 |
| | |||||
* | BUG: linalg: lstsq should always return real residuals (#937) | Pauli Virtanen | 2010-10-10 | 1 | -3/+80 |
| | |||||
* | ENH: linalg: convert non-native endian arrays to native-endian before ↵ | Pauli Virtanen | 2010-05-11 | 1 | -0/+9 |
| | | | | handing them to lapack_lite | ||||
* | ENH: Add slogdet to the linalg module. The patch is from njs with | Charles Harris | 2010-05-05 | 1 | -0/+19 |
| | | | | slogdet substituted for sign_log_det. Closes ticket #1402. | ||||
* | DEP: Fix one more deprecated unittest function. | Charles Harris | 2010-02-21 | 1 | -1/+1 |
| | |||||
* | 3K: linalg: fix integer division issue and tests | Pauli Virtanen | 2010-02-21 | 1 | -1/+3 |
| | |||||
* | ENH - added matrix_rank function to linalg | Matthew Brett | 2009-12-22 | 1 | -1/+21 |
| | |||||
* | linalg: support '0-norm' (scipy ticket #1037) | Pauli Virtanen | 2009-11-06 | 1 | -0/+2 |
| | |||||
* | Fix eigenvalue tests, the eigenvalues needed sorting. | Charles Harris | 2009-03-27 | 1 | -8/+8 |
| | | | | Fix test_nanmin_alnan_on_axis, use assert_array_equal. | ||||
* | BUG: fix #786, bad exception for wrong order for linalg.norm. | David Cournapeau | 2009-03-02 | 2 | -6/+5 |
| | |||||
* | Fix norm tests for single prec. | David Cournapeau | 2009-03-02 | 1 | -11/+27 |
| | |||||
* | Abstract away dtype for norm test. | David Cournapeau | 2009-03-02 | 1 | -8/+14 |
| | |||||
* | rename check_empty method to test_, so that is is picked up by nose. | David Cournapeau | 2009-03-02 | 1 | -1/+1 |
| | |||||
* | TEST: add tests for norm from #763. | David Cournapeau | 2009-03-02 | 1 | -1/+41 |
| | |||||
* | Use new-style classes with multiple-inheritance to address bug in IronPython. | Stefan van der Walt | 2009-01-06 | 1 | -1/+1 |
| | |||||
* | Trailing spaces. | David Cournapeau | 2008-11-08 | 1 | -2/+2 |
| | |||||
* | Fix fortrab ABI mismatch test. | David Cournapeau | 2008-11-08 | 1 | -10/+11 |
| | |||||
* | Detect gfrotran/g77 mismatch. | David Cournapeau | 2008-11-08 | 1 | -1/+13 |
| | |||||
* | Start working on test to detect fortran compiler mismatch. | David Cournapeau | 2008-11-08 | 1 | -0/+35 |
| | |||||
* | Added tests for eigenvalue/vector functions for Hermitian matrices.. | Alan McIntyre | 2008-07-14 | 1 | -0/+55 |
| | |||||
* | Clean up test output such that a completely-passing test suite has no ↵ | Robert Kern | 2008-07-03 | 2 | -5/+1 |
| | | | | extraneous output. | ||||
* | Restore old test framework classes. | Alan McIntyre | 2008-06-21 | 2 | -2/+2 |
| | | | | | | | | | | | Added numpy.testing.run_module_suite to simplify "if __name__ == '__main__'" boilerplate code in test modules. Removed numpy/testing/pkgtester.py since it just consisted of an import statement after porting SciPy r4424. Allow numpy.*.test() to accept the old keyword arguments (but issue a deprecation warning when old arguments are seen). numpy.*.test() returns a test result object as before. Fixed typo in distutils doc. | ||||
* | Switched to use nose to run tests. Added test and bench functions to all ↵ | Alan McIntyre | 2008-06-17 | 2 | -27/+30 |
| | | | | modules. | ||||
* | Fix ordering assumption in regression test. | Charles Harris | 2008-05-21 | 1 | -2/+4 |
| | |||||
* | Keep singular values and eigenvalues as 1D arrays until the matrix indexing | Charles Harris | 2008-04-29 | 1 | -4/+0 |
| | | | | | controversy is settled. This will also keep code that uses diag(ev), from breaking. | ||||
* | Fix test of lstsqr to work with matrix tests. | Charles Harris | 2008-04-27 | 1 | -1/+1 |
| | | | | Fix lstsq | ||||
* | Add tests for matrix return types. | Charles Harris | 2008-04-27 | 1 | -6/+38 |
| | | | | | Fix cond computations for matrices. lstsq is currently broken for matrices, will fix shortly. | ||||
* | Make functions in linalg.py accept nestes lists. | Charles Harris | 2008-04-27 | 1 | -8/+14 |
| | | | | | Use wrap to keep matrix environment intact. Base patch from nmb. | ||||
* | ran reindent in preparation for the 1.1 release | Jarrod Millman | 2008-04-20 | 1 | -4/+4 |
| | |||||
* | Added function for computing condition number, with tests and docs; closes #622. | aarchiba | 2008-04-08 | 1 | -1/+16 |
| | |||||
* | Test that matrix_power behaves correctly for boolean matrices. | aarchiba | 2008-04-07 | 1 | -0/+4 |
| | |||||
* | Factor out matrix_multiply from defmatrix. Based on a patch by | Stefan van der Walt | 2008-04-06 | 1 | -8/+62 |
| | | | | Anne Archibald. | ||||
* | Add regression for #627. | David Cournapeau | 2008-03-21 | 1 | -1/+12 |
| | |||||
* | Add regression test for #662. | David Cournapeau | 2008-03-21 | 1 | -1/+12 |
| | |||||
* | Add regression test for ticket #652. | David Cournapeau | 2008-03-21 | 1 | -0/+34 |
| | |||||
* | Apply patch to fix ticket #557 (pinv causing error with empty arrays) | Travis Oliphant | 2007-09-21 | 1 | -1/+10 |
| |