summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Wiebe <mwwiebe@gmail.com>2011-01-16 01:48:42 -0800
committerMark Wiebe <mwwiebe@gmail.com>2011-01-16 01:48:42 -0800
commit165d98d9a574aaba367f20b4fcd8dec7fda0bafb (patch)
treee95edbebc6ba31a11481974c5d50ade444338a9d /doc
parent1604e898911755ee29f829ee2ae1ffcc80c3dade (diff)
downloadnumpy-165d98d9a574aaba367f20b4fcd8dec7fda0bafb.tar.gz
ENH: core: Switch nonzero to use the iterator as an example, add count_nonzero function
Diffstat (limited to 'doc')
-rw-r--r--doc/source/reference/routines.sort.rst11
1 files changed, 9 insertions, 2 deletions
diff --git a/doc/source/reference/routines.sort.rst b/doc/source/reference/routines.sort.rst
index 8dc769ea9..c10252c69 100644
--- a/doc/source/reference/routines.sort.rst
+++ b/doc/source/reference/routines.sort.rst
@@ -1,5 +1,5 @@
-Sorting and searching
-=====================
+Sorting, searching, and counting
+================================
.. currentmodule:: numpy
@@ -30,3 +30,10 @@ Searching
where
searchsorted
extract
+
+Counting
+--------
+.. autosummary::
+ :toctree: generated/
+
+ count_nonzero