bugGNU Octave - Bugs: bug #56912, Implement class support for...

 
 

bug #56912: Implement class support for Array-Creation functions

Submitter:  Markus Ebner <seijikun>
Submitted:  Tue 17 Sep 2019 01:39:18 PM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 5.1.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 17 Sep 2019 01:39:18 PM UTC, original submission:  

Matlab supports implementing various array-creation methods such as zeros(), ones(), eye(), ... for classes.
Documentation: https://www.mathworks.com/help/matlab/matlab_oop/class-support-for-array-creation-functions.html

One example of a class making extensive use of this is quaternion:

q = zeros(2,2,'quaternion');

returns one quaternion instance looking like an array of quaternions on the outside.

There already is a // FIXME in this direction in the code (libinterp/corefcn/data.cc).
This bug is mainly to track progress on this.

Markus Ebner <seijikun>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by seijikun (Submitted the item)
  •  

    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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-27 jwe Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupMatlab Compatibility Feature Request

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code