summaryrefslogtreecommitdiff
path: root/doc/source
Commit message (Collapse)AuthorAgeFilesLines
* DEP, DOC: Undocument numarray and numeric.Charles Harris2013-09-232-8/+8
| | | | Mention that they were removed in 1.9.0.
* 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 #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.
* DOC: Add NEP and documentation for ufunc overrides.Blake Griffith2013-08-311-0/+34
|
* REL: Setup 1.9.0-notes.rst for master.Charles Harris2013-08-181-0/+1
|
* STY: Giant whitespace cleanup.Charles Harris2013-08-1821-41/+28
| | | | Now is as good a time as any with open PR's at a low.
* Update docsJay Bourque2013-08-161-3/+4
|
* Add documentation for new 'at' ufunc methodJay Bourque2013-08-161-0/+6
|
* 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.
* ENH: add quickselect algorithm and expose it via partitionJulian Taylor2013-08-122-9/+32
| | | | | | | | | | | | | | | | | | | | | | | | 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
|
* MAINT: Cleanup doc/source/user/basics.io.genfromtxt.rst.Charles Harris2013-08-011-152/+239
| | | | | | | Remove trailing whitespace. Break long lines. Fix some indentation. Use the `::` directive to indicate interactive examples.
* DOC: Fixes for doc/source/user/basics.io.genfromtxt.rst.Jesús Gómez2013-08-011-2/+2
| | | | | Add missing part of usecols negative index explanation and other minor redaction fixes.
* Merge branch 'numpy-swig' into gh-3451Charles Harris2013-07-292-43/+171
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * numpy-swig: Added more mentions of the SuperTensor tests and corrected the number of typemaps and tests (currently 1427 unit tests passed with 'make test': 372+324+324+324+40+19+24) Added mention of the SuperTensor tests in the README file Removed 'static' keyword from pyfragments.swg altoghether. I've had the following errors In function ‘SWIG_AsVal_long’: error: initialiser element is not constant In function ‘SWIG_AsVal_unsigned_SS_long’: error: initialiser element is not constant, BOTH in Windows/MinGW and Linux when compiling with gcc Added tests for 4D tensors. Now using a consistant cubes,slices,rows,columns index order everywhere. cleaned-up loop indexes in Tensor.cxx cosmetic changes to numpy.i Fixed the capsule / cobject memory destructor. Added types to deal with lists of arrays and lists of tensors as input and inplace types. removed the note about testResize1 failing in testArray.py fixed the testResize1 test in testArray.py -- Changed order of the resize arguments in Array2.h and replaced len(XXXnumpyarray) with XXXnumpyarray.size Minor adjustments to numpy.i Updated numpy.i testing documentation Updated the numpy.i documentation Initialize all DATA_TYPE* data_temp variables to NULL Added Egor's ARGOUTVIEWM_ARRAY3 typemaps Re-instated a Python 3 fix Removed doc from list of sub-directories Upgrade numpy.i Got rid of a unit test Conflicts: doc/sphinxext doc/swig/test/testFortran.py
| * Added more mentions of the SuperTensor tests and corrected the number of ↵Egor Zindy2013-06-162-8/+10
| | | | | | | | typemaps and tests (currently 1427 unit tests passed with 'make test': 372+324+324+324+40+19+24)
| * Updated numpy.i testing documentationBill Spotz2013-03-141-3/+3
| | | | | | | | | | | | Simple updates to include proper statistics on the number of typemap signatures supported and the number of individual unit tests implemented.
| * Updated the numpy.i documentationBill Spotz2013-03-141-37/+163
| | | | | | | | | | The RST documentation file is now consistent with the C macros, C functions, and list of typemap signatures of the latest numpy.i file.
* | DOC: put release notes in inverse orderPauli Virtanen2013-07-251-8/+8
| |
* | DOC: use the new scipy-sphinx-theme in the documentationPauli Virtanen2013-07-255-240/+38
| |
* | Corrected typos in documentation for PyArray_GETPTR1.Daniel2013-07-011-7/+7
| |
* | Fix minor typos in Polynomial class documentationKumar Appaiah2013-06-151-17/+17
| | | | | | | | Signed-Off-By: Kumar Appaiah <a.kumar@alumni.iitm.ac.in>
* | DOC: add missing release notes to the reference guide.Ralf Gommers2013-06-041-0/+3
| |
* | DOC: remove module index from reference guide.Ralf Gommers2013-06-042-3/+1
| | | | | | | | | | It was broken, and after fixing it looked quite useless. Update in conf.py is because `html_use_modindex` is deprecated.
* | DOC: add fmax/fmin to ufuncs list and math routines listendolith2013-05-192-0/+6
| |
* | Another name change to RegisterLoopForDescrJay Bourque2013-05-142-3/+3
| |
* | Change name of RegisterLoopForStructType to RegisterLoopByDescrJay Bourque2013-05-142-9/+11
| |
* | Update c-api documentationJay Bourque2013-05-142-0/+173
| |
* | Merge pull request #2701 from seberg/indexingseberg2013-05-111-2/+2
|\ \ | | | | | | Fancy Indexing enhancements and bug fixes
| * | DOC: Advanced indexing using np.newaxesSebastian Berg2013-04-121-2/+2
| | | | | | | | | | | | | | | Mention in release notes and remove documentation which may give the idea it cannot be used with advanced indexing.
* | | Update c api documentationJay Bourque2013-05-061-0/+10
| | |
* | | Merge pull request #3220 from pv/linalg-guCharles Harris2013-04-171-0/+18
|\ \ \ | | | | | | | | Add generalized ufunc linalg functions and make numpy.linalg use them
| * | | DOC: document the behavior of generalized N-dim linear algebra functionsPauli Virtanen2013-04-101-0/+18
| |/ /
* | | DOC: Document NPY_RELAXED_STRIDES_CHECKING changesSebastian Berg2013-04-113-14/+68
|/ / | | | | | | | | | | This includes documentation in the release notes, as well as the reference guide and smaller corrections. Thanks to Nathaniel for major rewriting this.
* | DOC: incorporate @charris' suggestionsPaul Ivanov2013-04-082-2/+2
| | | | | | | | | | * Trac no longer used * Openining "new issue" on GitHub
* | DOC: point to the github issues pagePaul Ivanov2013-04-082-13/+11
| |
* | 2to3: Apply `print` fixer.Charles Harris2013-04-061-1/+1
| | | | | | | | | | | | | | Add `print_function` to all `from __future__ import ...` statements and use the python3 print function syntax everywhere. Closes #3078.
* | Merge pull request #3178 from charris/2to3-apply-import-fixernjsmith2013-04-021-1/+1
|\ \ | | | | | | 2to3 apply import fixer
| * | 2to3: Use absolute imports.Charles Harris2013-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge pull request #3104 from seberg/nditer-allow-0dCharles Harris2013-04-011-3/+8
|\ \ \ | |/ / |/| | Make AdvancedNew iter more 0-d aware
| * | DOC: Add documentation clarifying the use of oa_ndimSebastian Berg2013-03-031-3/+8
| | |
* | | 2to3: Replace xrange by range and use list(range(...)) where neededCharles Harris2013-03-271-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | DOC: Add mention of PyArray_SetBaseObject stealing a referenceMark Wiebe2013-03-071-2/+4
| |
* | Add texinfo build target for documentTakafumi Arakaki2013-03-021-0/+12
|/
* DOC: Remove documentation of non-existing advanced iter NA flags.Sebastian Berg2013-03-011-29/+0
|
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+1
| | | | | | | | 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.
* DOC: fix doc/source/conf.py to work with Python 3Pauli Virtanen2013-02-271-2/+2
|
* MAINT: always use plot directive from Matplotlib, and prefer Sphinx linkcodePauli Virtanen2013-02-161-22/+3
|