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


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

Submitted by:  Markus Ebner <seijikun>
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5