summaryrefslogtreecommitdiff
path: root/doc
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| | * 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.
| | * Initialize all DATA_TYPE* data_temp variables to NULLBill Spotz2013-03-111-53/+53
| | |
| | * Added Egor's ARGOUTVIEWM_ARRAY3 typemapsBill Spotz2013-03-111-0/+110
| | |
| | * Re-instated a Python 3 fixBill Spotz2013-03-111-0/+2
| | |
| | * Removed doc from list of sub-directoriesBill Spotz2013-03-111-1/+1
| | | | | | | | | | | | | | | The doc directory has been moved elsewhere, so I removed the reference to it in the Makefile.
| | * Upgrade numpy.iBill Spotz2013-03-111-140/+1030
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The numpy.i file is now compliant with version 1.7 deprecations, but also works with previous versions of numpy. I have tested back to numpy 1.4.1. Added 4D typemaps and memory-managed typemaps. These were supplied by Egor Zindy. Fixed bugs in 3D typemaps. I was referencing $3 when I should have been referencing $4. Thanks to Egor Zindy for catching this.
| | * Got rid of a unit testBill Spotz2013-03-111-9/+12
| | | | | | | | | | | | | | | | | | This test fails after updating numpy.i to deal with deprecated code. My investigation into the source of the failure is that the test never should have passed, so I commented it out. I could be wrong.
| * | removed the note about testResize1 failing in testArray.pyEgor Zindy2013-03-161-5/+0
| | |
| * | fixed the testResize1 test in testArray.py -- Changed order of the resize ↵Egor Zindy2013-03-162-7/+7
| |/ | | | | | | arguments in Array2.h and replaced len(XXXnumpyarray) with XXXnumpyarray.size
* | Merge pull request #3550 from endolith/patch-1njsmith2013-07-261-5/+5
|\ \ | | | | | | DOC:Some minor proofreading of Tests introduction
| * | DOC:Revert ``assert()`` back to ``assert`` (statement)endolith2013-07-251-1/+1
| | |
| * | DOC:Some minor proofreading of Tests introductionendolith2013-07-251-6/+6
| | |
* | | DOC: fix HOWTO_BUILD_DOCS.rst.txtPauli Virtanen2013-07-251-28/+8
| | |
* | | Add Numpydoc as a git submodulePauli Virtanen2013-07-251-0/+0
| | |
* | | Move numpydoc to a separate repositoryPauli Virtanen2013-07-2519-4004/+0
| | |
* | | DOC: put release notes in inverse orderPauli Virtanen2013-07-251-8/+8
| | |
* | | DOC: update scipy.org doc build Makefile targetsPauli Virtanen2013-07-251-18/+11
| | |
* | | DOC: use the new scipy-sphinx-theme in the documentationPauli Virtanen2013-07-256-240/+38
|/ /
* | MAINT: Remove outdated version checks.Charles Harris2013-07-111-3/+2
| | | | | | | | | | | | | | | | | | | | Because Numpy 1.8.0 will no longer supports Python versions < 2.6 we no longer need to check for that and can also remove the code that is specific to those earlier versions. To make this a bit safer, the toplevel setup.py file now contains a check of the Python version number and raises an error when run by an unsupported version.
* | BUG: Check earlier for higher priority in binary operators, add testAndreas Kloeckner2013-07-081-0/+13
| | | | | | | | Fixes #3375