From help-octave-request at bevo dot che dot wisc dot edu Sat Dec 4 22:31:31 1999 Subject: Re: Dot product solution From: Dr Andre Bonfrer To: help-octave at bevo dot che dot wisc dot edu Date: Sun, 5 Dec 1999 15:30:38 +1100 (EST) Many many thanks to Mike Miller and Heber Farnsworth. Their solution is exactly what I was searching for: p(:,ones(1,m)).*v instead of kron(p.*ones(1,m)).*v is considerably faster. Regards Andre ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------