[PD-dev] list math
fbar at footils.org
Sat Feb 11 10:16:25 CET 2006
Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
> There are now a couple versions of math objects that do standard math
> operations on lists: Frank's list-abs and Cyrille's ds_/datastream.
Where can I take a look at ds_?
> So it seems that the list handling versions cannot be interchangable
> with the standard versions, since standard math objects will interpret
> lists as input to that objects inlets. But it would be nice to have
> both options. So I propose making a mirror math library for lists,
> like this:
> etc. etc.
> This would then largely be built from Frank's list-abs and Cyrille's
> ds_ objects and assembled to make sure that the list versions have the
> same interface as the standard versions. Then for handling floats,
> they would be completely interchangable.
One thing that I considered and important convenience feature for all
the arithmetics in [list]-abs was, that they should handle lists where
float-elements and symbol-elements are mixed as well by just passing
through symbol-elements. That is, "list x 1 y 2 z 3" * "float 2" would
result in "list x 2 y 4 z 6". So most of my abstractions have a [route
float] inside and math is only done at the left outlet of [route].
([list-makefilename] works the other way around and ignores floats.)
I'm not sure if this can be included in the proposed arithmetics
objects, but IMO it is a very useful feature.
Frank Barknecht _ ______footils.org_ __goto10.org__
More information about the Pd-dev