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

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

[Octave-bug-tracker] [bug #64995] implement height and width as aliases


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #64995] implement height and width as aliases for rows and columns for matlab compatibility
Date: Fri, 8 Dec 2023 08:25:57 -0500 (EST)

Follow-up Comment #3, bug#64995 (group octave):

We have the following aliases now (second argument to DEFALIAS is the real
function).  The "help name_of_alias" returns the docstring for the real
function.  I'm not sure how many of those docstrings note that there is an
alias.  I guess it doesn't hurt, but I don't see it as necessary.


$ hg locate | xargs grep ^DEFALIAS
libinterp/corefcn/data.cc:DEFALIAS (isbool, islogical);
libinterp/corefcn/data.cc:DEFALIAS (inf, Inf);
libinterp/corefcn/data.cc:DEFALIAS (nan, NaN);
libinterp/corefcn/data.cc:DEFALIAS (i, I);
libinterp/corefcn/data.cc:DEFALIAS (J, I);
libinterp/corefcn/data.cc:DEFALIAS (j, I);
libinterp/corefcn/data.cc:DEFALIAS (ifelse, merge);
libinterp/corefcn/debug.cc:DEFALIAS (dbnext, dbstep);
libinterp/corefcn/dirfns.cc:DEFALIAS (chdir, cd);
libinterp/corefcn/help.cc:DEFALIAS (__keywords__, iskeyword)
libinterp/corefcn/input.cc:DEFALIAS (__mfile_encoding__, mfile_encoding);
libinterp/corefcn/interpreter.cc:DEFALIAS (exit, quit);
libinterp/corefcn/inv.cc:DEFALIAS (inverse, inv);
libinterp/corefcn/mappers.cc:DEFALIAS (tolower, lower);
libinterp/corefcn/mappers.cc:DEFALIAS (toupper, upper);
libinterp/corefcn/mappers.cc:DEFALIAS (gammaln, lgamma);
libinterp/corefcn/sysdep.cc:DEFALIAS (home, clc);
libinterp/corefcn/sysdep.cc:DEFALIAS (putenv, setenv);




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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