summaryrefslogtreecommitdiff
path: root/numpy/numarray/functions.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3122 from charris/2to3-apply-xrange-fixerCharles Harris2013-03-281-3/+3
|\ | | | | 2to3: Replace xrange by range and use list(range(...)) where needed
| * 2to3: Replace xrange by range and use list(range(...)) where neededCharles Harris2013-03-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In python3 range is an iterator and `xrange` has been removed. This has two consequence for code: 1) Where a list is needed `list(range(...))` must be used. 2) `xrange` must be replaced by `range` Both of these changes also work in python2 and this patch makes both. There are three places fixed that do not need it, but I left them in so that the result would be `xrange` clean. Closes #3092
* | fix undefined function and add integer divisionsJulian Taylor2013-03-261-5/+18
|/
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-14/+2
| | | | | | | | 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.
* 3K: ENH: make numpy.numarray to importPauli Virtanen2010-02-211-0/+3
|
* Removed unused/duplicate imports.Alan McIntyre2008-09-131-9/+9
| | | | | | | | Removed repeated members of __all__. Fixed reference to undefined "out" in functions.py:take function. Fixed references to undefined "N" in functions.py. Rewrapped lines to conform to PEP8. Fixed references to undefined FPE_* constants (from numpy) in util.py.
* typoJarrod Millman2007-12-291-1/+1
|
* typoJarrod Millman2007-12-291-1/+1
|
* janitorial workJarrod Millman2007-12-291-50/+55
|
* Small fix for numpy.info(), which was unconditionally brokenFernando Perez2007-06-201-1/+1
|
* Fix numarray.fromstringTravis Oliphant2007-02-281-2/+2
|
* Whitespace cleanup.Stefan van der Walt2007-01-081-13/+12
|
* Fix the fromfunction routine to use float as default. Update oldnumeric and ↵Travis Oliphant2006-09-281-3/+6
| | | | numarray compatibility modules.
* Fix ticket #188 by returning the name of the dtype objects for data-type ↵Travis Oliphant2006-09-161-17/+47
| | | | objects without fields or sub-arrays that are in correct byte-order
* Fix numarray.info functionTravis Oliphant2006-09-151-4/+4
|
* Clean-up some un-needed default axes. Fix default axes of ma.sum and ma.productTravis Oliphant2006-08-291-2/+2
|
* Add axis arguments to various functions so as not to rely on the defaults.Travis Oliphant2006-08-291-2/+2
|
* Change default axis argument of average and several masked array functions. ↵Travis Oliphant2006-08-131-1/+4
| | | | Move old behaviors to compatibility layer.
* Finished up numpy.numarray.alter_code1Travis Oliphant2006-08-101-1/+10
|
* Add output arguments to a few more functions for consistencyTravis Oliphant2006-08-101-1/+7
|
* Update C-API to add features needed for numarray compatibility. Output ↵Travis Oliphant2006-08-101-55/+408
| | | | argument added for several functions and clipmode argument added for a few others.
* Fix numarray compatibility layer so it at least imports. It's not finished ↵Travis Oliphant2006-08-081-1/+2
| | | | yet, but some functionality is there.
* Fix import problemTravis Oliphant2006-08-081-1/+1
|
* Add numarray compatibility.Travis Oliphant2006-08-081-0/+86