[PD] basic stats on a table?

Jamie Bullock James.Bullock at bcu.ac.uk
Wed Nov 5 19:17:58 CET 2008


On Wed, 2008-11-05 at 09:49 -0800, B. Bogart wrote:

> I need to calculate the sum of the differences between two tables (768
> elements each).

Does the attached do what you want?

BTW, I also sometimes yearn things like tables of lists etc, but OTOH, I
wonder if trying to impose paradigms from 'traditional' languages on Pd
is a bad idea. If I start to think differently (more of a
dataflow/control flow mentality), things get a bit easier. 

best,

Jamie


-- 
www.postlude.co.uk
http://www.linkedin.com/in/jamiebullock

-- 
www.postlude.co.uk
http://www.linkedin.com/in/jamiebullock



Birmingham City University is the new name unveiled for the former University of Central England in Birmingham
For more information about the name change go to http://www.bcu.ac.uk/namechange/official_announcement.html

-------------- next part --------------
#N canvas 649 223 579 516 10;
#X obj 296 43 block~ 768;
#X obj 292 99 table foo;
#X obj 292 73 table bar;
#X obj 114 194 tabreceive~ bar;
#X obj 225 192 tabreceive~ foo;
#X obj 169 235 -~;
#X msg 7 109 \; bar sinesum 1024 1 \; bar resize 768;
#X obj 93 30 loadbang;
#X obj 169 266 pack~;
#X obj 170 299 sum;
#X floatatom 174 338 5 0 0 0 - - -;
#X msg 15 60 \; foo sinesum 1024 -1 \; foo resize 768;
#X connect 3 0 5 0;
#X connect 4 0 5 1;
#X connect 5 0 8 0;
#X connect 7 0 6 0;
#X connect 7 0 11 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;


More information about the Pd-list mailing list