<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks Edwad and Christopher!<div><br></div><div>@Christopher: actually I found it but I didn't know in which syntax I have to provide my Matrix/Vector data. It would be very helpful if the documentation of MuliplyDivide actor includes the example provided by Edward.</div><div><br></div><div>Thanks once again!</div><div><br></div><div>Muhannad</div><div><br><div><div>On Jan 21, 2012, at 6:33 PM, Christopher Brooks wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div bgcolor="#FFFFFF" text="#000000">
Muhannad,<br>
The MultiplyDivide actor in Ptolemy does this, see attached.<br>
<br>
I'm surprised you could not find this actor in Kepler.<br>
<br>
When I entered "Multiply" into "Search Components" and hit "Search"
it came right up.<br>
<br>
_Christopher<br>
<br>
<br>
On 1/21/12 9:27 AM, Edward A. Lee wrote:
<blockquote cite="mid:4F1AF579.4040206@eecs.berkeley.edu" type="cite">
<br>
Sure, just about anything that does multiplication will handle
matrices.
<br>
MultiplyDivide, Expression, FIR, etc. Math operations are
polymorphic.
<br>
Matrices are specified in MATLAB syntax in the expression
language.
<br>
E.g, in the Expression Evaluator:
<br>
<br>
>> [0, 1;1, 0]*[2; 3]
<br>
[3;2]
<br>
<br>
Edward
<br>
<br>
On 1/21/12 5:25 AM, Ali, Muhannad wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
is there any actor that multiplies two arrays? I need to
multiply a 2D array (mXn) with a vector(n).
<br>
<br>
Thanks!
<br>
<br>
Muhannad
<br>
_______________________________________________
<br>
Kepler-users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
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 </pre>
</div>
<span><MultiplyMatrixAndArray.xml></span></blockquote></div><br></div></body></html>