[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeats and Triangulation

Ben Tupper <pemaquidriver@tidewater.net> writes:

> Thanks Craig,
> I think I'll pursue you final suggestion.  The tricky part there is that it is
> possible to have indices repeated not only within column 1 but also apprearing
> in column 2.
> Ben

Yeah, but I think I handled that case.  For example if REP contains
the following entries:

  [2,  3]
  [3,  4]

Then it is clear that entries 2, 3, and 4 are all identical poins.  We
want to keep one point at least.  Thus, I used the DELMASK to delete
the points indexed by the second column, REP(1,*).  Deleting 3 and 4
leaves only 2. 

By the way, I wanted to emphasize that the snippet of code I posted
worked exactly as you wanted.  You don't need to go beyond that if you
don't want.


Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response