[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: format compact and loose
From: |
Ben Abbott |
Subject: |
Re: format compact and loose |
Date: |
Tue, 06 Sep 2011 20:58:20 -0400 |
On Sep 6, 2011, at 8:41 PM, Jordi Gutiérrez Hermoso wrote:
> 2011/9/5 Zbigniew Komarnicki <address@hidden>:
>
>> So is there any possibility to obtain result similar as in matlab,
>> i.e. the result will more compact when we use e.g.
>
>> to obtain something like this:
>>
>> octave:5> rand(2, 3, 3)
>> ans =
>> ans(:,:,1) =
>> 0.602732 0.212420 0.216894
>> 0.515855 0.749427 0.053278
>> ans(:,:,2) =
>> 0.24050 0.13761 0.79709
>> 0.84495 0.77959 0.94395
>> ans(:,:,3) =
>> 0.16946 0.54929 0.15251
>> 0.78924 0.86582 0.20346
>>
>> Is this currently possible or there should be introduce change in
>> source code in Octave to obtain such 'compact result' ?
>
> No, I don't believe this is currently possible right now. I'm thinking
> of pushing a patch to enable this on the development branch, but I
> would like first some confirmation that this change isn't going to
> break something. Is there a reason why we keep that space there?
>
> - Jordi G. H.
Jordi,
If you'd like to post it here, or to the developers mail-list, I'd be happy to
test it.
Ben