[Top][All Lists]

[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


>    - 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.


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]