bugGNU Octave - Bugs: bug #59751, support for 'like' option in zeros...

 
 

bug #59751: support for 'like' option in zeros function

Submitter:  Bill Greene <billgreene>
Submitted:  Tue 22 Dec 2020 01:26:04 PM UTC
   
 
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 22 Dec 2020 03:50:39 PM UTC, comment #2: 

Like jwe already wrote, this is a duplicate.
It looks like the other bug is almost finished (bar some documentation), and the feature will be part of Octave 7.

Closing this report.

Markus Mützel <mmuetzel>
Group administrator
Tue 22 Dec 2020 03:04:07 PM UTC, comment #1: 

This is a duplicate of bug #50854.

John W. Eaton <jwe>
Group administrator
Tue 22 Dec 2020 01:26:04 PM UTC, original submission:  

In matlab:
a=zeros(1,2,'like',5)
creates a 1x2 matrix of zeros.
Octave produces the following error messages:

octave:2> a=zeros(1,2,'like',5)
error: invalid conversion from string to real scalar
error: octave_base_value::int64_value (): wrong type argument 'sq_string'

Bill Greene <billgreene>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by billgreene (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-12-22 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed
        Release6.1.0 dev
        Dependencies- Depends on bugs #50854
    2020-12-22 jwe Severity3 - Normal 1 - Wish
        Priority5 - Normal 3 - Low
        Item GroupMatlab Compatibility Feature Request

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code