summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py47
1 files changed, 1 insertions, 46 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 09311a536..0a48f1ade 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -2174,43 +2174,6 @@ add_newdoc('numpy.core', 'einsum',
""")
-add_newdoc('numpy.core', 'alterdot',
- """
- Change `dot`, `vdot`, and `inner` to use accelerated BLAS functions.
-
- Typically, as a user of Numpy, you do not explicitly call this function. If
- Numpy is built with an accelerated BLAS, this function is automatically
- called when Numpy is imported.
-
- When Numpy is built with an accelerated BLAS like ATLAS, these functions
- are replaced to make use of the faster implementations. The faster
- implementations only affect float32, float64, complex64, and complex128
- arrays. Furthermore, the BLAS API only includes matrix-matrix,
- matrix-vector, and vector-vector products. Products of arrays with larger
- dimensionalities use the built in functions and are not accelerated.
-
- See Also
- --------
- restoredot : `restoredot` undoes the effects of `alterdot`.
-
- """)
-
-add_newdoc('numpy.core', 'restoredot',
- """
- Restore `dot`, `vdot`, and `innerproduct` to the default non-BLAS
- implementations.
-
- Typically, the user will only need to call this when troubleshooting and
- installation problem, reproducing the conditions of a build without an
- accelerated BLAS, or when being very careful about benchmarking linear
- algebra operations.
-
- See Also
- --------
- alterdot : `restoredot` undoes the effects of `alterdot`.
-
- """)
-
add_newdoc('numpy.core', 'vdot',
"""
vdot(a, b)
@@ -3834,7 +3797,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('put',
add_newdoc('numpy.core.multiarray', 'copyto',
"""
- copyto(dst, src, casting='same_kind', where=None, preservena=False)
+ copyto(dst, src, casting='same_kind', where=None)
Copies values from one array to another, broadcasting as necessary.
@@ -3862,9 +3825,6 @@ add_newdoc('numpy.core.multiarray', 'copyto',
A boolean array which is broadcasted to match the dimensions
of `dst`, and selects elements to copy from `src` to `dst`
wherever it contains the value True.
- preservena : bool, optional
- If set to True, leaves any NA values in `dst` untouched. This
- is similar to the "hard mask" feature in numpy.ma.
""")
@@ -3879,11 +3839,6 @@ add_newdoc('numpy.core.multiarray', 'putmask',
If `values` is not the same size as `a` and `mask` then it will repeat.
This gives behavior different from ``a[mask] = values``.
- .. note:: The `putmask` functionality is also provided by `copyto`, which
- can be significantly faster and in addition is NA-aware
- (`preservena` keyword). Replacing `putmask` with
- ``np.copyto(a, values, where=mask)`` is recommended.
-
Parameters
----------
a : array_like