hello.
...just looking for a way to purge a list of redundancy such that if i have in my list:
54 63 54 76 63 89 71 93 89
i could take out (1) 54, 63, and 89 to get the list:
54 63 76 89 71 93
i was looking at franks '[list]-abs' but didn't see anything that might do this...
best m
mark edward grimm | m.f.a | ed.m
megrimm.net | socialmediagroup.org & .com
meg156@columbia.edu | 585.509.8703
______________________________
Hello,
This seems to work but the order is broken. I haven't test all the possibilities.
Hope that helps
+n
mark edward grimm a écrit :
hello.
...just looking for a way to purge a list of redundancy such that if i have in my list:
54 63 54 76 63 89 71 93 89
i could take out (1) 54, 63, and 89 to get the list:
54 63 76 89 71 93
i was looking at franks '[list]-abs' but didn't see anything that might do this...
best m
mark edward grimm | m.f.a | ed.m
megrimm.net | socialmediagroup.org & .com
meg156@columbia.edu | 585.509.8703 ______________________________
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
This solution uses coll (from the cyclone library). It works with floats and symbols (you could even count the repetitions with a few changes).
Tom
On 7/6/07, Nicolas Montgermont nicolas_montgermont@yahoo.fr wrote:
Hello,
This seems to work but the order is broken. I haven't test all the possibilities.
Hope that helps
+n
mark edward grimm a écrit :
hello.
...just looking for a way to purge a list of redundancy such that if i have in my list:
54 63 54 76 63 89 71 93 89
i could take out (1) 54, 63, and 89 to get the list:
54 63 76 89 71 93
i was looking at franks '[list]-abs' but didn't see anything that might do this...
best m
mark edward grimm | m.f.a | ed.m megrimm.net | socialmediagroup.org & .com meg156@columbia.edu | 585.509.8703 ______________________________
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Nicolas Montgermont http://nicomon.basseslumieres.org
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hmmm, this is one patch i'm pretty sure i made using native PD objects. But it's possible my brain cell memories have been corrupted. It is ridiculously late right now, but I will look through my patches in the morning and see if I find anything... Such a function is a necissity for (post)serial techniques, which occasionally I use as a springboard, which is why I'm failrly certain I solved this problem once. Either that, or I was drunk and only think I solved the problem, and in reality I gave up because I became too annoyed trying to transition from ordinary programing world to dataflow world... ;-)
David
On 7/6/07, Thomas O Fredericks tof@danslchamp.org wrote:
This solution uses coll (from the cyclone library). It works with floats and symbols (you could even count the repetitions with a few changes).
Tom
On 7/6/07, Nicolas Montgermont nicolas_montgermont@yahoo.fr wrote:
Hello,
This seems to work but the order is broken. I haven't test all the possibilities.
Hope that helps
+n
mark edward grimm a écrit :
hello.
...just looking for a way to purge a list of redundancy such that if i have in my list:
54 63 54 76 63 89 71 93 89
i could take out (1) 54, 63, and 89 to get the list:
54 63 76 89 71 93
i was looking at franks '[list]-abs' but didn't see anything that might do this...
best m
mark edward grimm | m.f.a | ed.m megrimm.net | socialmediagroup.org & .com meg156@columbia.edu | 585.509.8703 ______________________________
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Nicolas Montgermont http://nicomon.basseslumieres.org
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- thomas ouellet fredericks, tof@danslchamp.org, montreal, canada
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hallo, mark edward grimm hat gesagt: // mark edward grimm wrote:
...just looking for a way to purge a list of redundancy such that if i have in my list:
54 63 54 76 63 89 71 93 89
i could take out (1) 54, 63, and 89 to get the list:
54 63 76 89 71 93
i was looking at franks '[list]-abs' but didn't see anything that might do this...
I think, the [zl] external has an operation for this called IIRC "zl union" or so, don't know exactly ATM.
I guess, the operation would make a good addition to the [list]-abs, maybe I'll make one tomorrow involving [list-find] and [list-filter] (hint, hint).
Frank Barknecht _ ______footils.org_ __goto10.org__
maybe I'll make one tomorrow involving [list-find] and [list-filter]
yeah that would be wicked cool!
thanks to nicolas and thomas for there examples too... ill check em out..
cheers m
--- Frank Barknecht fbar@footils.org wrote:
Hallo, mark edward grimm hat gesagt: // mark edward grimm wrote:
...just looking for a way to purge a list of redundancy such that if i have in my list:
54 63 54 76 63 89 71 93 89
i could take out (1) 54, 63, and 89 to get the
list:
54 63 76 89 71 93
i was looking at franks '[list]-abs' but didn't
see
anything that might do this...
I think, the [zl] external has an operation for this called IIRC "zl union" or so, don't know exactly ATM.
I guess, the operation would make a good addition to the [list]-abs, maybe I'll make one tomorrow involving [list-find] and [list-filter] (hint, hint).
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
mark edward grimm | m.f.a | ed.m
megrimm.net | socialmediagroup.org & .com
meg156@columbia.edu | 585.509.8703
______________________________
Hallo, mark edward grimm hat gesagt: // mark edward grimm wrote:
maybe I'll make one tomorrow involving [list-find] and [list-filter]
yeah that would be wicked cool!
Okay, here it is. I'll rework it a bit into a real abstraction for [list]-abs. Would [list-unique] be a good name? Uses [list-drip] and [list-find] from [list]-abs (but not [list-filter])
I also looked up how it would be called in [zl]: There it is made with [zl sect], not [zl union] as I wrote in my previous mail.
Frank Barknecht _ ______footils.org_ __goto10.org__
Hallo, Frank Barknecht hat gesagt: // Frank Barknecht wrote:
Okay, here it is. I'll rework it a bit into a real abstraction for [list]-abs. Would [list-unique] be a good name? Uses [list-drip] and [list-find] from [list]-abs (but not [list-filter])
I made a little interface change inspired by [Lunique] from Max's LObjects: Now you can also set the number of repetitions allowed through the right inlet. That's the version that is in CVS now.
Frank Barknecht _ ______footils.org_ __goto10.org__
"list-unique" is a great, and precise, name for such an abstraction...
~David
On 7/7/07, Frank Barknecht fbar@footils.org wrote:
Hallo, mark edward grimm hat gesagt: // mark edward grimm wrote:
maybe I'll make one tomorrow involving [list-find] and [list-filter]
yeah that would be wicked cool!
Okay, here it is. I'll rework it a bit into a real abstraction for [list]-abs. Would [list-unique] be a good name? Uses [list-drip] and [list-find] from [list]-abs (but not [list-filter])
I also looked up how it would be called in [zl]: There it is made with [zl sect], not [zl union] as I wrote in my previous mail.
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list