summaryrefslogtreecommitdiff
path: root/numpy/matlib.py
Commit message (Collapse)AuthorAgeFilesLines
* DOC: Replace the mathematical notation N(...) with text.warren2022-06-261-3/+5
| | | | | | | | | The meaning of the second argument in the mathematical notation N(mu, b) for the normal distribution is not consistent. In some references it is the variance while in others it is the standard deviation. Let's avoid the ambiguity by not using the notation. Fixes #21296
* DEP: deprecate importing numpy/matrixlib.pySeth Troisi2020-01-231-0/+11
|
* DOC: Describe matlib.py funky namespaceSeth Troisi2020-01-231-1/+3
|
* MAINT: resolve pyflake F403 'from module import *' usedMike Taves2020-01-231-1/+1
| | | | | | * For external modules, resolve imported members * Most internal relative modules were ignored or marked noqa: F403 * Convert a few internal absolute imports to relative imports
* MAINT: Remove unnecessary 'from __future__ import ...' statementsJon Dufresne2020-01-031-2/+0
| | | | | As numpy is Python 3 only, these import statements are now unnecessary and don't alter runtime behavior.
* DOC: typos from reviewmattip2019-10-151-1/+1
|
* DOC: clean up for moved references, remove ISeedSequencemattip2019-10-131-2/+2
|
* TST: make xfailed test for modules in public API pass.Ralf Gommers2019-09-191-1/+1
|
* TST, DOC: enable refguide_checkTyler Reddy2018-12-141-24/+26
| | | | | | | | * ported the refguide_check module from SciPy for usage in NumPy docstring execution/ verification; added the refguide_check run to Azure Mac OS CI * adjusted NumPy docstrings such that refguide_check passes
* ENH: Add `order=` keyword to `np.eye()` (#9996)Danny Hermes2017-11-121-2/+7
| | | Fixes #9995
* DOC: Update docs.Gabor Kovacs2015-06-211-4/+4
| | | | | | | Update docs for boolean array indexing and nonzero order. Add links to row-major and column-major terms where they appear. Closes #3177
* STY: Giant comma spacing fixup.Charles Harris2013-08-181-5/+5
| | | | | | | 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.
* 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.
* 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
* 2to3: Put `from __future__ import division in every python file.Charles Harris2013-03-011-0/+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.
* TST: Add tests for matlib. Closes #1242.Pauli Virtanen2010-07-311-4/+4
| | | | (From Ralf Gommers.)
* fixed a whole bunch of doctestsPaul Ivanov2009-12-281-8/+8
|
* first set of checkins from the doc editorJarrod Millman2009-11-131-25/+181
|
* Fix remaining references to numpy.core.defmatrixPauli Virtanen2009-09-261-1/+1
|
* Apply patch from #953 to fix two doctests.David Cournapeau2009-03-091-2/+2
|
* Import documentation from doc wiki (part 2, work-in-progress docstrings, but ↵Pauli Virtanen2008-10-281-3/+138
| | | | they are still an improvement)
* Fix regression in r4659; matlib.py should use from numpy import *cookedm2008-01-051-1/+2
|
* more janitorial workJarrod Millman2007-12-291-8/+7
|
* ran reindent.py to clean up whitespaceJarrod Millman2007-10-291-1/+1
|
* typoJarrod Millman2007-10-291-1/+1
|
* Whitespace cleanup.Stefan van der Walt2007-01-081-2/+2
|
* Add tile to numpy and move repmat to matlib.pyTravis Oliphant2006-10-071-2/+16
|
* Fix problem with randn in matlib. Acutally add min, max, round, abs to the ↵Travis Oliphant2006-08-291-1/+1
| | | | numpy name-space without over-writing builtins on from numpy import *
* Add diagflat. Begin to add numarray compatibilityTravis Oliphant2006-08-021-0/+2
|
* Fix ticket #203 [for Andrew Straw].Stefan van der Walt2006-07-241-1/+1
|
* Keep rand and randn in matlib and make them take tuples as well as ↵Travis Oliphant2006-07-121-2/+10
| | | | individual arguments.
* Change occurrences of N.rand to N.random.rand.Stefan van der Walt2006-07-121-2/+2
|
* fix clobbering of NTim Leslie2006-07-101-2/+2
|
* Add library of matrix functions.Travis Oliphant2006-07-071-0/+41