summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* 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`
| * 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.
* | MAINT: fix typo in npy-format.txtMartin Spacek2013-08-051-1/+1
|/
* Merge branch 'numpy-swig' into gh-3451Charles Harris2013-07-2917-304/+2591
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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)
| * Added mention of the SuperTensor tests in the README fileEgor Zindy2013-06-161-20/+40
| |
| * Removed 'static' keyword from pyfragments.swg altoghether. I've had the ↵Egor Zindy2013-06-161-2/+2
| | | | | | | | 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 ↵Egor Zindy2013-06-084-0/+635
| | | | | | | | index order everywhere.
| * cleaned-up loop indexes in Tensor.cxxEgor Zindy2013-06-083-52/+52
| |
| * cosmetic changes to numpy.iEgor Zindy2013-06-081-8/+1
| |
| * Merge branch 'numpy-swig' of https://github.com/zindy/numpy into numpy-swigEgor Zindy2013-06-085-215/+1857
| |\
| | * Fixed the capsule / cobject memory destructor. Added types to deal with ↵zindy2013-06-081-165/+676
| | | | | | | | | | | | lists of arrays and lists of tensors as input and inplace types.
| | * Minor adjustments to numpy.iBill Spotz2013-03-141-34/+34
| | | | | | | | | | | | | | | | | | | | | | | | This includes so formatting adjustments, the removal of two unused arguments for the make_fortran() function, fixing the number of supported typemap signatures, including the ARGOUT_ARRAY4 typemap signature in the comments section, and renumbering the typemap signatures.