[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:1.9.1.10) 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:
http://hg.savannah.gnu.org/hgweb/octave/rev/1646bd8e3735
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30571>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/