On 7/11/06, David Huard <[EMAIL PROTECTED]> wrote:
>
>
> 2006/7/11, JJ <[EMAIL PROTECTED]>:
> > 1) is it possible to get the function unique() to work with matrices,
> perhaps
> > with a unique_rows() function to work with matrices of more than one
> column?
>
>
> The problem is that applying unique to different rows will return vectors
> with different lengths. So you could not return an array, much less a
> matrix.

...unless it returned the unique rows instead of the unique elements
in each row. So if the matrix is

1 2 2
3 4 5
1 2 2

then the unique rows would be

1 2 2
3 4 5


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion

Reply via email to