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

Home » Public Forums » archive » Remove Duplicate Rows
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Remove Duplicate Rows [message #82990 is a reply to message #82914] Sat, 26 January 2013 02:09 Go to previous messageGo to previous message
Mats Löfdahl is currently offline  Mats Löfdahl
Messages: 263
Registered: January 2012
Senior Member
On Saturday, January 26, 2013 11:02:33 AM UTC+1, Mats Löfdahl wrote:
> On Saturday, January 26, 2013 1:03:37 AM UTC+1, Gompie wrote:
>
>> Pretty easy for you to do because you wrote the uniq-rows code..but hard for me to follow.
>
>
>
> Well, it wasn't meant as detailed instructions. I just tried to get an idea across so you could figure the details out for yourself.

I'll make another attempt, and this time not just before bedtime...

As I understood your problem, you wanted to remove duplicate rows and then instead co-add them. That would be equivalent to multiply the first copy of the duplicated row with the number of copies. So my idea was to define an array of factors to multiply each row with. It would start out as unity for each row but everytime you found a duplicate you would add one to the position corresponding to the first copy, the one you are going to keep. And when you have found all the duplicate rows, you'd apply those multiplicative factors to the rows before removing the duplicates.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Remove Duplicate Rows
Next Topic: Re: 3-D arrows

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

Current Time: Sun Oct 19 03:32:33 PDT 2025

Total time taken to generate the page: 2.80218 seconds