Hello,

I think you should Expression actor. There is "sum" function for
arrays in Ptolemy II expression  language:

$PTII$/doc/expressionsa12.html

sum  {type} or [type]->type

Sum the elements of the specified array or matrix. This throws an
exception if the elements do not support addition or if the array is
empty (an empty matrix will return zero).

IMHO, It is more convinient to implement workflow like yours using Expression.

Alexander Petrov

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to