diagonal & permutation matrices
Jaroslav Hajek
highegg at gmail.com
Sun Nov 16 11:17:58 CST 2008
On Sun, Nov 16, 2008 at 3:16 PM, Thorsten Meyer <thorsten.meyier at gmx.de> wrote:
> Jaroslav Hajek wrote:
>> I've run into two issues:
>>
>> 1. What to do when printing/saving? To honor Matlab compatibility, we
>> should display & save them as full matrices. However, it is certainly
>> much more informational to print them specially, and seems a little
>> bit weird for Octave to cripple its own data when saving variables.
> The default file format for saving is still octave's own ascii format.
> Isn't that incompatible anyway? And would there be any way of saving such
> special matrices in matlab's binary format without breaking compatibility?
>
> Does octave's display need to be compatible (or is it at the moment?)? How
> would you display a diagonal or permutation matrix?
>
> Thorsten
>
>
I was thinking about something like
ans =
Diagonal Matrix (10 by 10)
0.1
0.2
0.3
...
ans =
Row Permutation Matrix (10 by 10)
1
3
2
5
4
7
6
9
8
10
or maybe row vectors instead of column vectors...
--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz
More information about the Octave-maintainers
mailing list