comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Any ideas how to find unique pairs, tuples, etc, in a matrix?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Any ideas how to find unique pairs, tuples, etc, in a matrix? [message #49170] Wed, 28 June 2006 16:52
samkeene is currently offline  samkeene
Messages: 1
Registered: June 2006
Junior Member
For example, suppose I have something like this:

b1 = [1, 2, 3];
b2 = [2, 3, 4];
b3 = [4, 5, 6];

band = [[[b1]],[[b2]],[[b3]], [[b1]] ]

Which gives me the following matrix:

1 2 3
2 3 4
4 5 6
1 2 3

what I want is a function that tells me that returns [1 2 3] telling me
that rows 1, 2 and 3 are unique triples.

Any ideas would be greatly appreciated

-Sam
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: STSI Tour?
Next Topic: x-ray imaging using 3x4 projection matrices

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:22:03 PDT 2025

Total time taken to generate the page: 0.00511 seconds