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

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

[Octave-bug-tracker] [bug #60141] feature request: colon method for clas


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #60141] feature request: colon method for classes of numbers
Date: Mon, 1 Mar 2021 02:58:04 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36 Edg/88.0.705.81

Update of bug #60141 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

That looks more like a request for help than like a bug report again.

The error message gives a hint. Do you overload the `colon` method in your
class?

>> help colon
'colon' is a built-in function from the file libinterp/corefcn/data.cc

 -- R = colon (BASE, LIMIT)
 -- R = colon (BASE, INCREMENT, LIMIT)
     Return the result of the colon expression corresponding to BASE,
     LIMIT, and optionally, INCREMENT.

     This function is equivalent to the operator syntax 'BASE : LIMIT'
     or 'BASE : INCREMENT : LIMIT'.

     See also: linspace.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60141>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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