octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #53464] Excessive output displayed for deep st


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #53464] Excessive output displayed for deep structs
Date: Sun, 25 Mar 2018 11:44:04 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

URL:
  <http://savannah.gnu.org/bugs/?53464>

                 Summary: Excessive output displayed for deep structs
                 Project: GNU Octave
            Submitted by: octavebugs
            Submitted on: Sun 25 Mar 2018 03:44:03 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Following on from #53421, Octave is overly verbose when displaying struct
members that are arrays. I.e. it completely prints out the entire array.

MATLAB
++
>> a.b=rand(1); a
a = 
  struct with fields:

    b: 0.4711
>> a.b=rand(2); a
a = 
  struct with fields:

    b: [2×2 double]
>> a.b=rand(200); a
a = 
  struct with fields:

    b: [200×200 double]
>> disp(a)
    b: [200×200 double]

--

Octave
++
>> a.b=rand(1); a
    a =
      scalar structure containing the fields:
        b =  0.16176
>> a.b=rand(2); a
    a =
      scalar structure containing the fields:
        b =
           0.81968   0.82219
           0.24580   0.23479
>> a.b=rand(200); a

...(pages of output)...

>> disp(a)

...(pages of output)...

--





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53464>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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