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

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

[Octave-bug-tracker] [bug #42773] Operator Overloading of built-in class


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #42773] Operator Overloading of built-in classes not working as expected
Date: Fri, 27 Apr 2018 14:19:09 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0

Update of bug #42773 (project octave):

                Severity:              3 - Normal => 2 - Minor              
                Priority:              5 - Normal => 1 - Later              
                 Release:                   3.8.0 => dev                    
        Operating System:       Microsoft Windows => Any                    

    _______________________________________________________

Follow-up Comment #2:

Well this does partially work, if the method '@cell/plus.m' is made available
on the Octave load path, then


>> plus (A, B)
ans = 
{
  [1,1] =

     6   7   8

  [1,2] =

      8   10

  [1,3] =  8
}


does work. The only thing missing is tying the operator syntax itself to a
method lookup.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42773>

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




reply via email to

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