[Top][All Lists]

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


Michael B. Miller, Ph.D.
Assistant Professor
Division of Epidemiology
and Institute of Human Genetics
University of Minnesota

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]