bugGNU Octave - Bugs: bug #57005, rats returns extraneous column...

 
 

bug #57005: rats returns extraneous column information when there are many columns

Submitter:  Rik <rik5>
Submitted:  Sat 05 Oct 2019 09:08:58 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sat 05 Oct 2019 09:16:20 PM UTC, comment #1: 

Internally in Frats, located in pr-output.cc, the C++ is calling octave_value.print ().  Perhaps there is a way to signal to the routine that this extraneous information, which is meant to be printed by the interpreter, should not be displayed.

Rik <rik5>
Group administrator
Sat 05 Oct 2019 09:08:58 PM UTC, original submission:  

Sample code to reproduce:


octave:1> x = ones (2, 25);
octave:2> s = rats (x, 10)
s =

 Columns 1 through 9:

           1           1           1           1           1           1           1           1           1
           1           1           1           1           1           1           1           1           1

 Columns 10 through 18:

           1           1           1           1           1           1           1           1           1
           1           1           1           1           1           1           1           1           1

 Columns 19 through 25:

           1           1           1           1           1           1           1
           1           1           1           1           1           1           1



Matlab doesn't include the unnecessary "Columns X through Y:" information.

Rik <rik5>
Group administrator

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code