diff options
author | Andras Deak <deak.andris@gmail.com> | 2021-03-18 21:16:59 +0100 |
---|---|---|
committer | Andras Deak <deak.andris@gmail.com> | 2021-03-18 22:53:42 +0100 |
commit | ee296b231dc94f8908b06247e063d2a653de6c7b (patch) | |
tree | 15ac6882b5242046e0e733c0ae4f3352d7c0b3ac /doc/source/reference | |
parent | ddbff082e0bab0e3580be9f2f275418595879022 (diff) | |
download | numpy-ee296b231dc94f8908b06247e063d2a653de6c7b.tar.gz |
DOC: Make inline code example consistent in ufunc reference
Diffstat (limited to 'doc/source/reference')
-rw-r--r-- | doc/source/reference/ufuncs.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst index 06fbe28dd..c919ec9b8 100644 --- a/doc/source/reference/ufuncs.rst +++ b/doc/source/reference/ufuncs.rst @@ -628,8 +628,8 @@ Math operations for large calculations. If your arrays are large, complicated expressions can take longer than absolutely necessary due to the creation and (later) destruction of temporary calculation - spaces. For example, the expression ``G = a * b + c`` is equivalent to - ``t1 = A * B; G = T1 + C; del t1``. It will be more quickly executed + spaces. For example, the expression ``G = A * B + C`` is equivalent to + ``T1 = A * B; G = T1 + C; del T1``. It will be more quickly executed as ``G = A * B; add(G, C, G)`` which is the same as ``G = A * B; G += C``. |