diff options
author | Robert Cimrman <cimrman3@ntc.zcu.cz> | 2009-07-08 15:46:09 +0000 |
---|---|---|
committer | Robert Cimrman <cimrman3@ntc.zcu.cz> | 2009-07-08 15:46:09 +0000 |
commit | c1c0533f20e349b5e638025ef173aa487b2422c7 (patch) | |
tree | e2fef41c590d17bbacae0ec36d447d13cf21afb6 /numpy/lib/info.py | |
parent | 434bc70004d63ed44dd5d793d5eb65b840f39362 (diff) | |
download | numpy-c1c0533f20e349b5e638025ef173aa487b2422c7.tar.gz |
Enhancements to arraysetops (ticket #1133, by Neil Crighton)
Diffstat (limited to 'numpy/lib/info.py')
-rw-r--r-- | numpy/lib/info.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/lib/info.py b/numpy/lib/info.py index f93234d57..4a781a2ca 100644 --- a/numpy/lib/info.py +++ b/numpy/lib/info.py @@ -135,12 +135,11 @@ Set operations for 1D numeric arrays based on sort() function. ================ =================== ediff1d Array difference (auxiliary function). -unique1d Unique elements of 1D array. +unique Unique elements of an array. intersect1d Intersection of 1D arrays with unique elements. -intersect1d_nu Intersection of 1D arrays with any elements. setxor1d Set exclusive-or of 1D arrays with unique elements. -setmember1d Return an array of shape of ar1 containing 1 where - the elements of ar1 are in ar2 and 0 otherwise. +in1d Test whether elements in a 1D array are also present in + another array. union1d Union of 1D arrays with unique elements. setdiff1d Set difference of 1D arrays with unique elements. ================ =================== |