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

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

[Octave-bug-tracker] [bug #53675] Warning/documentation of mtimes with n


From: Rik
Subject: [Octave-bug-tracker] [bug #53675] Warning/documentation of mtimes with non-matrix arguments
Date: Tue, 17 Apr 2018 14:45:21 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #53675 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #4:

>From the test in comment #3, and because I think it is good practice, Octave
should implement some sort of input validation for matrix multiplication. 
Should it be just a warning, or a full error as Matlab does?  I've added jwe
to the CC list.

I'm leaning towards a full error, as any programmer who really, really wants
to condense an N-D matrix to a 2-D matrix can do so themselves with indexing:


matrix2D = ndarray(:,:);




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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