[Top][All Lists]

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

[Octave-bug-tracker] [bug #30571] expm of diagonal matrices

From: Jaroslav Hajek
Subject: [Octave-bug-tracker] [bug #30571] expm of diagonal matrices
Date: Thu, 29 Jul 2010 06:53:14 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100506 SUSE/3.5.10-0.1.1 Firefox/3.5.10

Update of bug #30571 (project octave):

             Assigned to:                    None => highegg                
             Open/Closed:                    Open => Closed                 


Follow-up Comment #1:

First, a scalar is a scalar, not a diagonal matrix.

Second, I'd say ignore the MatrixType check. This is mostly historical and
will only be true for matrices that just happen to be diagonal as a result of
a computation. 

Third, like it or not, typeinfo names include class, so you can have
"diagonal matrix" as well as "float complex diagonal matrix",
so using strfind is a better idea. Beware also of "scalar struct" (though
scalars can be checked by isscalar()).

I checked in the following change instead:


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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