[kepler-users] Arrays Multiplication

Christopher Brooks cxh at eecs.berkeley.edu
Sat Jan 21 09:33:25 PST 2012


Muhannad,
The MultiplyDivide actor in Ptolemy does this, see attached.

I'm surprised you could not find this actor in Kepler.

When I entered "Multiply" into "Search Components" and hit "Search" it 
came right up.

_Christopher


On 1/21/12 9:27 AM, Edward A. Lee wrote:
>
> Sure, just about anything that does multiplication will handle matrices.
> MultiplyDivide, Expression, FIR, etc.  Math operations are polymorphic.
> Matrices are specified in MATLAB syntax in the expression language.
> E.g, in the Expression Evaluator:
>
> >> [0, 1;1, 0]*[2; 3]
> [3;2]
>
> Edward
>
> On 1/21/12 5:25 AM, Ali, Muhannad wrote:
>> Hello,
>>
>> is there any actor that multiplies two arrays? I need to multiply a 
>> 2D array (mXn) with a vector(n).
>>
>> Thanks!
>>
>> Muhannad
>> _______________________________________________
>> Kepler-users mailing list
>> Kepler-users at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841                                (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120121/69a5352b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MultiplyMatrixAndArray.xml
Type: text/xml
Size: 4026 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120121/69a5352b/attachment.xml>


More information about the Kepler-users mailing list