summaryrefslogtreecommitdiff
path: root/numpy
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | TST: Add an `inner` test with two 3D tensors.John Kirkham2016-01-091-0/+27
| | | | | |
* | | | | | TST: Add more scalar tests to ensure `inner` keeps the answer with the right ↵John Kirkham2016-01-091-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | form.
* | | | | | TST: Try using `inner` with some different orderings for matrix and vector ↵John Kirkham2016-01-091-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | products. Add some tests for matrix products. Include a `syrk` vs. `gemm` test case.
* | | | | | Merge pull request #6962 from rehassachdeva/BugFixesCharles Harris2016-01-091-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | MAINT, STY: Removed unused variable in f2py/f90mod_rules.py
| * | | | | | MAINT, STY: Removed unused variable in f2py/f90mod_rules.pyrehassachdeva2016-01-071-1/+1
| | | | | | |
* | | | | | | Merge pull request #6982 from charris/update-6972Charles Harris2016-01-091-3/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | DOC: Update 6972
| * | | | | | | DOC: Update trapz docstring.Charles Harris2016-01-091-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
| * | | | | | | DOC: fix typos in trapz()François Boulogne2016-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | | DOC: Clarify the docstrings of matrix.argmin and matrix.argmax.Charles Harris2016-01-091-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | | DOC: Update defmatrix.argmax docstring.Nicolás Della Penna2016-01-091-1/+1
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | [ci skip]
* | | | | | | Merge pull request #6978 from kpsychas/patch-1Ralf Gommers2016-01-091-1/+1
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | BLD: fix build error for mingw32 compiler on Windows
| * | | | | | fix for windowsKonstantinos Psychas2016-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | Related Issue http://stackoverflow.com/questions/33886558/numpy-installation-error-mingw32ccompiler-instance-has-no-attribute-compile-o
* | | | | | | Merge pull request #6979 from jakirkham/cblas_matrixproduct_bracesNathaniel J. Smith2016-01-091-24/+12
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | STY: Place conditional opening braces on the same line
| * | | | | | STY: Place braces on the same lines as control structure requiring them.John Kirkham2016-01-091-24/+12
| | |/ / / / | |/| | | |
* | | | | | BUG: npy_acosh fallback too simple.Eric Moore2016-01-081-1/+14
|/ / / / / | | | | | | | | | | | | | | | Fixes gh-6712.
* | | | | Merge pull request #6955 from rgommers/distutils-cleanupCharles Harris2016-01-0729-392/+8
|\ \ \ \ \ | |/ / / / |/| | | | MAINT: distutils cleanup for Pyrex support and unused f2py/swig tests
| * | | | MAINT: remove unused f2py and SWIG tests from numpy.distutils.Ralf Gommers2016-01-0625-301/+0
| | | | |
| * | | | MAINT: remove outdated Pyrex support from distutils (as far as possible).Ralf Gommers2016-01-068-92/+9
| | | | |
* | | | | Merge pull request #6932 from jakirkham/opt_dot_transNathaniel J. Smith2016-01-061-1/+96
|\ \ \ \ \ | | | | | | | | | | | | ENH: Use `syrk` to compute certain dot products more quickly and accurately
| * | | | | ENH: Use the helper function `syrk` to compute `dot` more quickly and ↵John Kirkham2016-01-061-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | accurately in certain special cases.
| * | | | | ENH: Added the helper function `syrk` that computes `a.T @ a` or `a @ a.T`.John Kirkham2016-01-061-0/+68
| | | | | |
* | | | | | Merge pull request #6905 from kohr-h/issue-6899__broadcast_with_one_argJaime2016-01-064-14/+17
|\ \ \ \ \ \ | |/ / / / / |/| | | | | ENH: allow single input argument in numpy.broadcast
| * | | | | TST: add test for broadcast with one argumentHolger Kohr2016-01-042-5/+11
| | | | | |
| * | | | | ENH: allow single input argument in numpy.broadcastHolger Kohr2016-01-042-9/+6
| | | | | |
* | | | | | Merge pull request #6952 from mhvk/preserve-recarray-subtype-on-slicingCharles Harris2016-01-062-4/+11
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | BUG recarray slices should preserve subclass.
| * | | | | BUG recarray slices should preserve subclass.Marten van Kerkwijk2016-01-062-4/+11
| | | | | |
* | | | | | BUG trace is not subclass aware, such that np.trace(ma) != ma.trace().Marten van Kerkwijk2016-01-063-1/+33
|/ / / / /
* | | | | TST: Verify that certain variations of dot products of a matrix with views ↵John Kirkham2016-01-051-1/+74
| | | | | | | | | | | | | | | | | | | | of its self work correctly.
* | | | | Merge pull request #6942 from mwiebe/modprecCharles Harris2016-01-052-1/+7
|\ \ \ \ \ | | | | | | | | | | | | Fix datetime roll='modifiedpreceding' bug
| * | | | | BUG: Fix copy/paste error treating modifiedpreceding as modifiedfollowingMark Wiebe2016-01-051-1/+1
| | | | | |
| * | | | | TST: Add datetime test distinguishing modified following from precedingMark Wiebe2016-01-051-0/+6
| | | | | |
* | | | | | DOC,BUG: Fix some latex generation problems.Charles Harris2016-01-052-16/+32
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the documentation for newbyteorder, copy and pasted in several spots, had paragraphs ending in `::`, initiating a sphinx generated Verbatim environment and resulting in "LaTeX Error: Too deeply nested". The user_array.container class needed non-empty class documentation. That that caused a problem is probably a numpydoc bug, but it is easy to fix. [skip ci]
* | | | | Merge pull request #6935 from ldoddema/maint_randomCharles Harris2016-01-041-7/+3
|\ \ \ \ \ | | | | | | | | | | | | MAINT, DOC: Correct supported interval for mtrand._rand_int32.
| * | | | | DOC: high arg is mandatory for mtrand._rand_int32ldoddema2016-01-041-7/+3
| | | | | |
| * | | | | MAINT: Fix notation in mtrand.pyx documentation.ldoddema2016-01-041-2/+2
| | | | | |
* | | | | | DEP: deprecate np.testing.randEvgeni Burovski2016-01-041-0/+3
|/ / / / /
* | | | | DOC: Match Documentation to Behavior for MaskedArray.filledgfyoung2016-01-031-1/+5
|/ / / / | | | | | | | | | | | | Closes gh-6647.
* | | | Merge pull request #6900 from kohr-h/masterCharles Harris2016-01-031-5/+5
|\ \ \ \ | | | | | | | | | | ENH: clarify error message of broadcast
| * | | | ENH: clarify error message of broadcastHolger Kohr2016-01-031-5/+5
| | | | |
* | | | | MAINT: Fix typos in 1.11.0-notes.rst and mtrand.pyx documentation.Charles Harris2016-01-031-1/+1
| | | | |
* | | | | Merge pull request #6910 from charris/add-64-bit-random-intCharles Harris2016-01-039-63/+799
|\ \ \ \ \ | |/ / / / |/| | | | ENH: Add dtype argument to random.randint.
| * | | | BUG: Get rid of C++ style comment in multiarray_tests.c.srcCharles Harris2016-01-021-1/+1
| | | | |
| * | | | TST,BUG: Fix use of randint in test_mem_overlap.py.Charles Harris2016-01-021-17/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default randint function returns a C long type which does not have enough range to test indexes on Windows 64. The fix here is to use specify a np.intp dtype for the randint call now that we have that option. Closes #6812.
| * | | | TST: Add tests for new randint functionality.Charles Harris2016-01-021-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * check exceptions * check extreme bounds are reachable * check that all values are in the specified bounds * check repeatability of sequences More exact statistical tests would be nice, but that is another project.
| * | | | ENH: Add dtype argument to random.randint.Charles Harris2016-01-026-45/+697
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Random ndarrays of the following types can now be generated: * np.bool, * np.int8, np.uint8, * np.int16, np.uint16, * np.int32, np.uint32, * np.int64, np.uint64, * np.int_ (long), np.intp The specification is by precision rather than by C type. Hence, on some platforms np.int64 may be a `long` instead of `long long` even if the specified dtype is `long long` because the two may have the same precision. The resulting type depends on which c type numpy uses for the given precision. The byteorder specification is also ignored, the generated arrays are always in native byte order. The dtype of the result could be made more explicit if desired without changing the user visible results.
* | | | | TST: Add regression test for gh-6922.Charles Harris2016-01-021-0/+6
| | | | | | | | | | | | | | | | | | | | Sorting and unaligned void type should not segfault.
* | | | | BUG: #6922: Fix segfault introduced in 23901aa.Charles Harris2016-01-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Revert troublesome parts of gh-5929. Copyswap cannot be relied upon for void types containing objects.
* | | | | Merge pull request #6886 from charris/use-temppathCharles Harris2016-01-025-121/+74
|\ \ \ \ \ | | | | | | | | | | | | MAINT: Simplify some tests using temppath context manager.
| * | | | | BUG: ignore exceptions in numpy/tests/test_scripts.py/test_f2pCharles Harris2015-12-261-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test was checking whether the f2py script was installed as either of two names, but was only catching OSError, so the second check was skipped if the first failed for another reason. The caused the runtests.py script to fail it does not install the script as f2py but rather with the python version appended.
| * | | | | MAINT: Simplify some tests using temppath context manager.Charles Harris2015-12-264-118/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces code of the pattern ``` fd, name = tempfile.mkstemp(...) os.close(fd) try: do stuff with name finally: os.remove(name) ``` with ``` with temppath() as name: do stuff with name ``` A few more complicated cases are also handled. The remains some particularly gnarly code the could probably be refactored to use temppath, but that is a more demanding project.