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

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

[Octave-bug-tracker] [bug #37379] atan2 and other trig functions lack do


From: Rik
Subject: [Octave-bug-tracker] [bug #37379] atan2 and other trig functions lack documentation
Date: Fri, 28 Sep 2012 20:49:38 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1

Follow-up Comment #16, bug #37379 (project octave):

It should probably be in C++.  The atan2 function is defined in
libinterp/interpfcn/data.cc beginning at line 213.  It doesn't look like it
would be difficult to translate your m-file code to C++ in this instance.

There is another possibility as well which is that atan2 could be shifted to a
mapper function.  The mapper functions are in
liboctave/numeric/lo-mappers.[ch].  If you look in lo-mappers.h you will see
that there is a prototype declaration for each function, like asin, that might
accept a complex value.  lo-mappers.cc then has a tiny function to implement
it.  I would ask jwe on the maintainers list about this strategy, though,
before going forward.  

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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