Skip to content

Commit

Permalink
DOC: add isclose and partition to reference and link some docs
Browse files Browse the repository at this point in the history
also drop sometrue/alltrue link, its equivalent to any/all.
  • Loading branch information
juliantaylor committed Sep 14, 2013
1 parent 815cca5 commit 1816fa0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/source/reference/routines.logic.rst
Expand Up @@ -50,6 +50,7 @@ Comparison
:toctree: generated/

allclose
isclose
array_equal
array_equiv

Expand Down
2 changes: 2 additions & 0 deletions doc/source/reference/routines.sort.rst
Expand Up @@ -14,6 +14,8 @@ Sorting
ndarray.sort
msort
sort_complex
partition
argpartition

Searching
---------
Expand Down
2 changes: 2 additions & 0 deletions numpy/add_newdocs.py
Expand Up @@ -4189,6 +4189,7 @@ def luf(lamdaexpr, *args, **kwargs):
argsort : Indirect sort.
lexsort : Indirect stable sort on multiple keys.
searchsorted : Find elements in sorted array.
partition: Partial sort.
Notes
-----
Expand Down Expand Up @@ -4253,6 +4254,7 @@ def luf(lamdaexpr, *args, **kwargs):
--------
numpy.partition : Return a parititioned copy of an array.
argpartition : Indirect partition.
sort : Full sort.
Notes
-----
Expand Down
4 changes: 4 additions & 0 deletions numpy/core/fromnumeric.py
Expand Up @@ -576,6 +576,7 @@ def partition(a, kth, axis=-1, kind='introselect', order=None):
--------
ndarray.partition : Method to sort an array in-place.
argpartition : Indirect partition.
sort : Full sorting
Notes
-----
Expand Down Expand Up @@ -659,6 +660,7 @@ def argpartition(a, kth, axis=-1, kind='introselect', order=None):
--------
partition : Describes partition algorithms used.
ndarray.partition : Inplace partition.
argsort : Full indirect sort
Notes
-----
Expand Down Expand Up @@ -707,6 +709,7 @@ def sort(a, axis=-1, kind='quicksort', order=None):
argsort : Indirect sort.
lexsort : Indirect stable sort on multiple keys.
searchsorted : Find elements in a sorted array.
partition : Partial sort.
Notes
-----
Expand Down Expand Up @@ -819,6 +822,7 @@ def argsort(a, axis=-1, kind='quicksort', order=None):
sort : Describes sorting algorithms used.
lexsort : Indirect stable sort with multiple keys.
ndarray.sort : Inplace sort.
argpartition : Indirect partial sort.
Notes
-----
Expand Down
2 changes: 1 addition & 1 deletion numpy/core/numeric.py
Expand Up @@ -2083,7 +2083,7 @@ def allclose(a, b, rtol=1.e-5, atol=1.e-8):
See Also
--------
all, any, alltrue, sometrue
isclose, all, any
Notes
-----
Expand Down

0 comments on commit 1816fa0

Please sign in to comment.