help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: no way for simple matrix lookup ?


From: Julius Smith
Subject: Re: no way for simple matrix lookup ?
Date: Fri, 18 Jun 2004 13:46:51 -0700

Right --- what price simplicity?
Of course, the parser could also evaluate arguments of diag() with some optimization.
-- jos

At 11:42 AM 6/18/2004, Mike Miller wrote:
On Fri, 18 Jun 2004, Julius Smith wrote:

Oops - I meant diag(A(b',c)) of course -- jos

I think the problem with that solution is that if b and c have length, say, 10,000, you have to produce a matrix A with 100,000,000 elements, then use diag() to discard 99,990,000 of them because they were not needed.

Mike

--
Michael B. Miller, Ph.D.
Assistant Professor
Division of Epidemiology
and Institute of Human Genetics
University of Minnesota
http://taxa.epi.umn.edu/~mbmiller/

_____________________________
Julius O. Smith III <address@hidden>
Assoc. Prof. of Music and (by courtesy) Electrical Engineering
CCRMA, Stanford University
http://www-ccrma.stanford.edu/~jos/



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



reply via email to

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