summaryrefslogtreecommitdiff
path: root/doc/source/reference
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2010-11-27 16:45:12 -0800
committerCharles Harris <charlesr.harris@gmail.com>2010-12-01 20:02:16 -0700
commitc6f8dbbd240ada8d0edd0527cd218cfc46deec41 (patch)
tree39b447663a83c021c34b8cdf32a3644e1bfe9ebc /doc/source/reference
parent9b72aa96cec9d182062f378fca869aaa303f1ca9 (diff)
downloadnumpy-c6f8dbbd240ada8d0edd0527cd218cfc46deec41.tar.gz
ENH: Rename the half character code from 'j' to 'e'
Diffstat (limited to 'doc/source/reference')
-rw-r--r--doc/source/reference/arrays.scalars.rst2
-rw-r--r--doc/source/reference/c-api.ufunc.rst14
-rw-r--r--doc/source/reference/ufuncs.rst4
3 files changed, 10 insertions, 10 deletions
diff --git a/doc/source/reference/arrays.scalars.rst b/doc/source/reference/arrays.scalars.rst
index 001227af4..0d5d3f59e 100644
--- a/doc/source/reference/arrays.scalars.rst
+++ b/doc/source/reference/arrays.scalars.rst
@@ -138,7 +138,7 @@ Unsigned integers:
Floating-point numbers:
=================== ============================= ===============
-:class:`half` ``'j'``
+:class:`half` ``'e'``
:class:`single` compatible: C float ``'f'``
:class:`double` compatible: C double
:class:`float_` compatible: Python float ``'d'``
diff --git a/doc/source/reference/c-api.ufunc.rst b/doc/source/reference/c-api.ufunc.rst
index 27977de99..f299251cb 100644
--- a/doc/source/reference/c-api.ufunc.rst
+++ b/doc/source/reference/c-api.ufunc.rst
@@ -234,20 +234,20 @@ structure.
.. cfunction:: void PyUFunc_G_G(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
-.. cfunction:: void PyUFunc_j_j(char** args, npy_intp* dimensions,
+.. cfunction:: void PyUFunc_e_e(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
-.. cfunction:: void PyUFunc_j_j_As_f_f(char** args, npy_intp* dimensions,
+.. cfunction:: void PyUFunc_e_e_As_f_f(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
-.. cfunction:: void PyUFunc_j_j_As_d_d(char** args, npy_intp* dimensions,
+.. cfunction:: void PyUFunc_e_e_As_d_d(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
Type specific, core 1-d functions for ufuncs where each
calculation is obtained by calling a function taking one input
argument and returning one output. This function is passed in
``func``. The letters correspond to dtypechar's of the supported
- data types ( ``j`` - half, ``f`` - float, ``d`` - double,
+ data types ( ``e`` - half, ``f`` - float, ``d`` - double,
``g`` - long double, ``F`` - cfloat, ``D`` - cdouble,
``G`` - clongdouble). The argument *func* must support the same
signature. The _As_X_X variants assume ndarray's of one data type
@@ -280,13 +280,13 @@ structure.
.. cfunction:: void PyUFunc_GG_G(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
-.. cfunction:: void PyUFunc_jj_j(char** args, npy_intp* dimensions,
+.. cfunction:: void PyUFunc_ee_e(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
-.. cfunction:: void PyUFunc_jj_j_As_ff_f(char** args, npy_intp* dimensions,
+.. cfunction:: void PyUFunc_ee_e_As_ff_f(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
-.. cfunction:: void PyUFunc_jj_j_As_dd_d(char** args, npy_intp* dimensions,
+.. cfunction:: void PyUFunc_ee_e_As_dd_d(char** args, npy_intp* dimensions,
npy_intp* steps, void* func)
Type specific, core 1-d functions for ufuncs where each
diff --git a/doc/source/reference/ufuncs.rst b/doc/source/reference/ufuncs.rst
index 680232a36..dedbf2929 100644
--- a/doc/source/reference/ufuncs.rst
+++ b/doc/source/reference/ufuncs.rst
@@ -224,7 +224,7 @@ can generate this table for your system with the code given in the Figure.
... print int(np.can_cast(row, col)),
... print
>>> print_table(np.typecodes['All'])
- X ? b h i l q p B H I L Q P j f d g F D G S U V O M m
+ X ? b h i l q p B H I L Q P e f d g F D G S U V O M m
? 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
b 0 1 1 1 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0
h 0 0 1 1 1 1 1 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0
@@ -238,7 +238,7 @@ can generate this table for your system with the code given in the Figure.
L 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 0 1 1 1 1 1 1 0 0
Q 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 0 1 1 1 1 1 1 0 0
P 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 1 1 0 1 1 1 1 1 1 0 0
- j 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0
+ e 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 0 0
f 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0
d 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 1 1 1 0 0
g 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 1 1 0 0