[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Memory Allocation, Plotting

**From**: |
Etienne Grossmann |

**Subject**: |
Re: Memory Allocation, Plotting |

**Date**: |
Sat, 25 Nov 2000 14:11:00 GMT |

Hello,
>* - for my concrete problem: Is there an elegant way of*
>* calculating diag(x)*y with x Üin R^n, y Üin R^{n*m}?*
What about (x*ones(1,m)) .* y
or x(:,ones(1,m)) .* y
Also, I think Cai Jianming's patch (posted 2000/10/08)(included
in Paul Kienzle's "matcompat" package) allows you to do this operation
directly. I'm not sure, though.
Etienne
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------