summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* BUG: core: ensure __r*__ has precedence over __numpy_ufunc__Pauli Virtanen2013-10-192-0/+111
| | | | | | | | | | | | | Add a special case to the implementation of ndarray.__mul__ et al. that refuses to work on other objects that are not ndarray subclasses and implement both __numpy_ufunc__ and __r*__. This way, execution passes first to the custom __r*__ method, which makes it possible to have e.g. __mul__ and np.multiply do different things. Additionally, disable one __array_priority__ special case handling when also __numpy_ufunc__ is defined.
* Merge pull request #3888 from cowlicks/backporting-docsCharles Harris2013-10-102-1/+62
|\ | | | | DOC: Notes on backporting.
| * DOC: Notes on backporting.Blake Griffith2013-10-102-1/+62
| |
* | DOC: Update 1.8.0 release notes.Charles Harris2013-10-091-57/+77
|/ | | | | Order highlights by significance. This is a subjective judgement. Mention the linalg enhancements and illustrate with an example.
* DOC: Tweak the 1.8.0 release notes.Charles Harris2013-10-051-18/+19
| | | | | Add the new nan functions and linear algebra gufuncs to highlights. Tweak some rst formatting.
* DOC: add highlights to release notes and rewrite and move some sectionsJulian Taylor2013-10-051-34/+35
| | | | closes gh-3842, gh-3843
* DOC: fix signature of NpyIter_GetIterNext in capi docJulian Taylor2013-10-051-1/+1
|
* DOC: minor rewording of partition noteJulian Taylor2013-09-301-5/+6
|
* DOC: update percentile release notes and add np.array improvementJulian Taylor2013-09-301-1/+27
|
* DOC: move support for large files to featuresJulian Taylor2013-09-301-5/+4
| | | | its nothing you should need to worry about when porting to 1.8
* DOC: mention new comparison runtime warnings in release notesJulian Taylor2013-09-301-0/+8
|
* DEP, DOC: Document removal of oldnumeric and numarray in release notes.Charles Harris2013-09-231-0/+1
|
* DEP, DOC: Undocument numarray and numeric.Charles Harris2013-09-232-8/+8
| | | | Mention that they were removed in 1.9.0.
* Merge pull request #3752 from pv/doc-some-xrefCharles Harris2013-09-192-13/+33
|\ | | | | DOC: improve __numpy_ufunc__ documentation
| * DOC: improve __numpy_ufunc__ documentationPauli Virtanen2013-09-152-13/+33
| | | | | | | | | | Cross-reference it from Ufunc documentation and mention the version it was added.
* | Merge pull request #3658 from jjhelmus/percentile_enh_newJulian Taylor2013-09-191-0/+2
|\ \ | | | | | | ENH: percentile function with additional parameters and vectorization
| * | ENH: percentile function with additional parameters and vecorizationJonathan Helmus2013-09-131-0/+2
| | | | | | | | | | | | | | | | | | | | | The percentile function was enhanced by adding limit and interpolation parameters to give it similar functionality to SciPy's stats.scoreatpercentile function. In addition the function was vecorized along q and rewritten to use the partition method for better performance.
* | | Merge pull request #3482 from jjhelmus/linspace_enhseberg2013-09-161-0/+5
|\ \ \ | |_|/ |/| | ENH: Add dtype parameter to linspace and logspace functions.
| * | ENH: Add dtype parameter to linspace and logspace functions.Jonathan Helmus2013-09-131-0/+5
| |/ | | | | | | | | | | Many NumPy functions such as arange allow users to define the dtype of the returned type with a dtype parameter. This adds this same functionality to the logspace and linspace functions.
* | Merge pull request #3741 from juliantaylor/doc-updateCharles Harris2013-09-142-0/+3
|\ \ | | | | | | DOC: add isclose and partition to reference and link some docs
| * | DOC: add isclose and partition to reference and link some docsJulian Taylor2013-09-142-0/+3
| |/ | | | | | | also drop sometrue/alltrue link, its equivalent to any/all.
* | DOC: Make savez_compressed show up in the documentation.Charles Harris2013-09-131-0/+1
|/ | | | Closes #3708.
* Merge pull request #3524 from cowlicks/ufunc-overrideCharles Harris2013-09-063-0/+284
|\ | | | | Ufunc Overrides
| * DOC: Update release notes.Blake Griffith2013-09-061-0/+8
| |
| * DOC: Add NEP and documentation for ufunc overrides.Blake Griffith2013-08-312-0/+276
| |
* | DOC: Update release notes for openblas build.Skipper Seabold2013-09-051-0/+4
|/
* REL: Setup 1.9.0-notes.rst for master.Charles Harris2013-08-182-0/+51
|
* STY: Giant comma spacing fixup.Charles Harris2013-08-1815-171/+171
| | | | | | | Run the 2to3 ws_comma fixer on *.py files. Some lines are now too long and will need to be broken at some point. OTOH, some lines were already too long and need to be broken at some point. Now seems as good a time as any to do this with open PRs at a minimum.
* STY: Giant whitespace cleanup.Charles Harris2013-08-1840-164/+138
| | | | Now is as good a time as any with open PR's at a low.
* DOC: Update 1.8.0-notes.rstCharles Harris2013-08-181-1/+8
| | | | | Note that the numpydoc sphinx extensions now reside in their own repository.
* Update docsJay Bourque2013-08-162-6/+7
|
* Add documentation for new 'at' ufunc methodJay Bourque2013-08-161-0/+6
|
* Update documentation for 'at' methodJay Bourque2013-08-161-0/+10
|
* DOC: Update 1.8.0 release notes.Charles Harris2013-08-161-2/+33
| | | | | | Add remarks on changes due in the next release and FutureWarnings. Add notes on the new functions in the array C-API. Add notes on the new function in th ufunc C-API.
* Merge pull request #3625 from charris/update-howtoreleaseRalf Gommers2013-08-151-24/+18
|\ | | | | DOC: Update HOWTO_RELEASE.rst.txt.
| * DOC: Update HOWTO_RELEASE.rst.txt.Charles Harris2013-08-151-24/+18
| | | | | | | | | | | | The current version is out of date. Supported Python versions have changed, the buildbot is no longer reachable, some links are dead, etc.
* | BUG: Use io.open instead of open for compatibility.Charles Harris2013-08-151-3/+5
|/ | | | | | | | The recent Python 3 fix adding encoding="utf-8" to the open function fails on Python 2 because the encoding keyword is not defined. The solution is to use io.open, which is available for Python 2.6 and 2.7 and is an alias for open when Python >= 3.0. It is reputed to be slow when running in 2.6, but that should not be a problem.
* Merge pull request #3534 from charris/nan-stat-functionsCharles Harris2013-08-152-2/+16
|\ | | | | Add nanmean, nanvar, and nanstd functions.
| * DOC: Various fixes.Charles Harris2013-08-141-0/+4
| | | | | | | | | | | | Fix typos and clarify some explanations. Document the changes in the return values of nanargmin and nanargmax for all-NaN slices in the 1.8.0 release notes.
| * DOC: Document nanmean, nanvar, and nanstd in the 1.8.0 release notes.Charles Harris2013-08-121-1/+8
| |
| * MAINT: Refactor nanfunctions.Charles Harris2013-08-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nanmax, nanmin -------------- Add out and keepdims keywords. nanargmin, nanargmax -------------------- A NanWarning is raised if an all NaN slice detected. For all such slices np.iingo(np.intp).min is returned as the index value. nansum ------ The keywords dtype, out, and keepdims are added. A FutureWarning is raised, as in the future the mean of an empty slice after NaN replacement will be 0 instead of the current NaN. nanmean, nanvar, nanstd ----------------------- For all, if the input array is of inexact type then the dtype and out parameters must be of inexact type if specified. That insures that NaNs can be returned when appropriate. The nanmean function detects empty slices after NaN replacement and raises a NanWarning. NaN is returned as the value for all such slices. The nanmean and nanstd functions detect degrees of freedom <= 0 after NaN replacement and raise a NanWarning. NaN is returned as the value for all such slices.
* | Merge pull request #3608 from charris/remove-1.8-diagonal-refsCharles Harris2013-08-151-5/+0
|\ \ | | | | | | DOC: Remove references to diagonal changes in 1.8.
| * | DOC: Remove references to diagonal changes in 1.8.Charles Harris2013-08-121-5/+0
| |/ | | | | | | | | | | | | Not happening. Also remove reference to selecting multiple fields out of an array returning a view from 1.8.0 release notes. Closes #3228.
* | DOC: Note the new behavior of financial.npv in the 1.8.0 release notes.Charles Harris2013-08-151-0/+10
| | | | | | | | Closes #3389.
* | Explicitly set encoding to UTF-8 in postprocess.pySascha Peilicke2013-08-141-2/+2
|/ | | | | | | | | | | | | | | | The default (ascii) encoding breaks: python3.3 postprocess.py html build/html/*.html Traceback (most recent call last): File "postprocess.py", line 59, in <module> main() File "postprocess.py", line 27, in main lines = process_html(fn, f.readlines()) File "/usr/lib64/python3.3/encodings/ascii.py", line 26, in return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in 2309: ordinal not in range(128)
* ENH: implement median in terms of partitionJulian Taylor2013-08-121-0/+11
| | | | | | Partitioning is sufficient to obtain the median and is much faster. In the case of overwrite_input=True the resulting array will not be fully sorted anymore.
* ENH: add quickselect algorithm and expose it via partitionJulian Taylor2013-08-123-9/+42
| | | | | | | | | | | | | | | | | | | | | | | | A partition sorts the kth element into its sorted order and moves all smaller elements before the kth element and all equal or greater elements behind it. The ordering of all elements in the partitions is undefined. It is implemented via the introselection algorithm which has worst case linear complexity compared to a full sort that has linearithmic complexity. The introselect algorithm uses a quickselect with median of three pivot and falls back to a quickselect with median of median of five pivot if no sufficient progress is made. The pivots used during the search for the wanted kth element can optionally be stored and reused for further partitionings of the array. This is used by the python interface if an array of kth is provided to the partitions function. This improves the performance of median and which need to select two elements if the size of the array is even. A percentile function interpolating between values also profits from this. String selection is implemented in terms of quicksort which has the same properties as a selection for now.
* BUG: Document that numpy.int_ doesn't inherit from int on Py3kYury V. Zaytsev2013-08-101-2/+7
| | | | Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
* Fix documentation description of loop spam in interactive interpreterEric Price2013-08-101-3/+3
|
* Merge pull request #3565 from charris/documentation-fixesCharles Harris2013-08-051-152/+239
|\ | | | | Documentation fixes for `basics.io.genfromtxt.rst` and `creation.py`