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: Mike Miller
Subject: Re: no way for simple matrix lookup ?
Date: Fri, 18 Jun 2004 13:42:48 -0500 (CDT)

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/



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