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

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

[Octave-bug-tracker] [bug #51333] Reductions on an empty matrix is incon


From: SUDHIR KUMAR SUMAN
Subject: [Octave-bug-tracker] [bug #51333] Reductions on an empty matrix is inconsistent
Date: Sat, 17 Mar 2018 19:44:53 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Follow-up Comment #3, bug #51333 (project octave):

I have gone through the bug #51333 and have implemented code for dot function.
Similarly it can be implemented for others.I have also consider case when
dimension is negative.
The link for the code is :
https://github.com/Alok009/Octave/blob/master/dot.m

Output from octave:
>> dot([],[])
ans = [](1x0)

Output after implimenting
>> dott([],[])
ans = 0

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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