bugGNU Octave - Bugs: bug #52786, atan2d help text should use...

 
 

bug #52786: atan2d help text should use 'atan2(y,x)' rather than 'atan2(y/x)'

Submitted by:  None
Submitted on:  Tue 02 Jan 2018 01:59:08 PM UTC
 
Category:  Documentation Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.1
Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

Thu 04 Jan 2018 05:10:51 AM UTC, comment #4: 

For confirmity with the atan documentation I used

Compute atan (@var{y} / @var{x}) in degrees for corresponding elements

I made the change on the stable branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/ea1253f05dd3).

Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Thu 04 Jan 2018 01:29:25 AM UTC, comment #3: 

Yes, either 'atand(y/x)' or 'atan2(y,x)' is OK, but not 'atan2(y/x)',
because 'atan','atand' must accept one input argument, 'atan2','atan2d' must accept two input arguments.

Anonymous
Wed 03 Jan 2018 02:07:44 PM UTC, comment #2: 

Here I just changed it.Patch is attached.

(file #42804)

Dildar Sk <hodor123456>
Wed 03 Jan 2018 04:45:33 AM UTC, comment #1: 

In mathematics, it atan2(y,x)=tan-1(y/x).
Here it showing,
'atan2d ( y, x ):
Compute atan2 (y / x) in degrees for corresponding elements from y and x.'
Here 'atan2' should be 'atand',else everything is fine.It is just a typing mistake.

Dildar Sk <hodor123456>
Tue 02 Jan 2018 01:59:08 PM UTC, original submission:  

--- a/scripts/elfun/atan2d.m
+++ b/scripts/elfun/atan2d.m
@@ -18,7 +18,7 @@

 ## -*- texinfo -*-
 ## @deftypefn {} {} atan2d (@var{y}, @var{x})
-## Compute atan2 (@var{y} / @var{x}) in degrees for corresponding elements
+## Compute atan2 (@var{y}, @var{x}) in degrees for corresponding elements
 ## from @var{y} and @var{x}.
 ## @seealso{tand, atan2}
 ## @end deftypefn

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #42804:  mypatch.patch added by hodor123456 (1KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by hodor123456 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.

     

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-04 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2018-01-03 hodor123456 Attached File- => Added mypatch.patch, #42804

    Back to the top


    Powered by Savane 3.9