diff options
Diffstat (limited to 'doc/source/reference')
-rw-r--r-- | doc/source/reference/c-api.array.rst | 7 | ||||
-rw-r--r-- | doc/source/reference/c-api.coremath.rst | 2 | ||||
-rw-r--r-- | doc/source/reference/index.rst | 4 | ||||
-rw-r--r-- | doc/source/reference/routines.indexing.rst | 1 | ||||
-rw-r--r-- | doc/source/reference/routines.io.rst | 2 | ||||
-rw-r--r-- | doc/source/reference/routines.math.rst | 8 | ||||
-rw-r--r-- | doc/source/reference/ufuncs.rst | 2 |
7 files changed, 19 insertions, 7 deletions
diff --git a/doc/source/reference/c-api.array.rst b/doc/source/reference/c-api.array.rst index 82cac676e..ad7c725a8 100644 --- a/doc/source/reference/c-api.array.rst +++ b/doc/source/reference/c-api.array.rst @@ -382,10 +382,11 @@ From other objects sequence, or object that exposes the array interface, *op*. The parameters allow specification of the required *dtype*, the minimum (*min_depth*) and maximum (*max_depth*) number of - dimensions acceptable, and other *requirements* for the array. The - *dtype* argument needs to be a :c:type:`PyArray_Descr` structure + dimensions acceptable, and other *requirements* for the array. This + function **steals a reference** to the dtype argument, which needs + to be a :c:type:`PyArray_Descr` structure indicating the desired data-type (including required - byteorder). The *dtype* argument may be NULL, indicating that any + byteorder). The *dtype* argument may be ``NULL``, indicating that any data-type (and byteorder) is acceptable. Unless :c:data:`NPY_ARRAY_FORCECAST` is present in ``flags``, this call will generate an error if the data diff --git a/doc/source/reference/c-api.coremath.rst b/doc/source/reference/c-api.coremath.rst index 9027a4e0d..d3f7fcf75 100644 --- a/doc/source/reference/c-api.coremath.rst +++ b/doc/source/reference/c-api.coremath.rst @@ -237,7 +237,7 @@ of floating point round-off error. Like for other types, NumPy includes a typedef npy_half for the 16 bit float. Unlike for most of the other types, you cannot use this as a -normal type in C, since is is a typedef for npy_uint16. For example, +normal type in C, since it is a typedef for npy_uint16. For example, 1.0 looks like 0x3c00 to C, and if you do an equality comparison between the different signed zeros, you will get -0.0 != 0.0 (0x8000 != 0x0000), which is incorrect. diff --git a/doc/source/reference/index.rst b/doc/source/reference/index.rst index f74816d6f..4f246096d 100644 --- a/doc/source/reference/index.rst +++ b/doc/source/reference/index.rst @@ -31,8 +31,8 @@ Acknowledgements ================ Large parts of this manual originate from Travis E. Oliphant's book -`Guide to NumPy <http://www.tramy.us/>`__ (which generously entered -Public Domain in August 2008). The reference documentation for many of +`Guide to NumPy <https://archive.org/details/NumPyBook>`__ (which generously +entered Public Domain in August 2008). The reference documentation for many of the functions are written by numerous contributors and developers of NumPy, both prior to and during the `NumPy Documentation Marathon diff --git a/doc/source/reference/routines.indexing.rst b/doc/source/reference/routines.indexing.rst index 4af6845d0..4d2458d2f 100644 --- a/doc/source/reference/routines.indexing.rst +++ b/doc/source/reference/routines.indexing.rst @@ -61,5 +61,6 @@ Iterating over arrays nditer ndenumerate ndindex + nested_iters flatiter lib.Arrayterator diff --git a/doc/source/reference/routines.io.rst b/doc/source/reference/routines.io.rst index 5df590f17..573498792 100644 --- a/doc/source/reference/routines.io.rst +++ b/doc/source/reference/routines.io.rst @@ -14,7 +14,7 @@ NumPy binary files (NPY, NPZ) savez_compressed The format of these binary file types is documented in -http://docs.scipy.org/doc/numpy/neps/npy-format.html +http://numpy.github.io/neps/npy-format.html Text files ---------- diff --git a/doc/source/reference/routines.math.rst b/doc/source/reference/routines.math.rst index 4c2f2800a..821363987 100644 --- a/doc/source/reference/routines.math.rst +++ b/doc/source/reference/routines.math.rst @@ -101,6 +101,14 @@ Floating point routines nextafter spacing +Rational routines +----------------- +.. autosummary:: + :toctree: generated/ + + lcm + gcd + Arithmetic operations --------------------- .. autosummary:: diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst index 38f2926f7..3711f660f 100644 --- a/doc/source/reference/ufuncs.rst +++ b/doc/source/reference/ufuncs.rst @@ -550,6 +550,8 @@ Math operations square cbrt reciprocal + gcd + lcm .. tip:: |