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

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

[Octave-bug-tracker] [bug #42422] ismatrix: Matlab is only true for 2 di


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #42422] ismatrix: Matlab is only true for 2 dimensions
Date: Mon, 26 May 2014 14:29:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #2, bug #42422 (project octave):

This raises some issues: It is common
practise to use the word array for
multidimensional arrangements of elements.
Thus, the notation:

array(arguments)

The number of arguments is termed the 
dimension of the array.

Matrix is usually used to mean an array of
2 arguments.  It is not usual practise to 
use "matrix" for an array of other than
2 arguments.

Octave (and the Manual) follow this nomenclature
except for the behavior of ismatrix. (As far as
I know)

Thus, does everyone agree that, in priciple,
ismatrix should have been named isarray?

This leads to the suggestion that isarray should
be implemented, and should behave as ismatrix
does now. This would allow (a possibly more
managable) editing of current ismatrix references
to isarray where appropriate.

Then the question of at some point making ismatrix
valid only for matrices (like Matlab) could
be handled with less upsets.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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