On 3/10/07, Robert Kern <[EMAIL PROTECTED]> wrote:
Jouni K. Seppänen wrote:
> I think that either the docstring (and the book) should be corrected
> to mention the assumption, or the code should be made to work in the
> arbitrary case.
This is the current docstring:
In [2]: setmember1d?
Type:
Jouni K. Seppänen wrote:
> I think that either the docstring (and the book) should be corrected
> to mention the assumption, or the code should be made to work in the
> arbitrary case.
This is the current docstring:
In [2]: setmember1d?
Type: function
Base Class:
Namespace: I
Hi,
According to an earlier posting on this list, the elements of the
first argument to setmember1d are assumed to be unique:
http://thread.gmane.org/gmane.comp.python.numeric.general/13251/focus=13307
The docstring for setmember1d does not state this:
| Definition: numpy.setmember1d(ar1, a