help-octave
[Top][All Lists]
Advanced

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

Re: problem with the octave built-in function "kron"


From: Jordi Gutiérrez Hermoso
Subject: Re: problem with the octave built-in function "kron"
Date: Fri, 3 May 2013 16:00:39 -0400

On 3 May 2013 14:41, Jordi Gutiérrez Hermoso <address@hidden> wrote:
> On 3 May 2013 12:54, Stephen Montgomery-Smith <address@hidden> wrote:
>> However kron seems to treat diagonal matrices and sparse matrices
>> differently.  Maybe kron should be rewritten to see if both of the
>> matrices are sparse OR diagonal.  Because when I took his code and
>> changed eye to speye, it worked.
>
> I believe I already did that, unless I'm misremembering:
>
>     http://hg.savannah.gnu.org/hgweb/octave/rev/75cea615ade4

Indeed, I just tested the code in question in the current development
branch. It works there fine and L is of sparse type, not full.

- Jordi G. H.


reply via email to

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