Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Math Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

atan(), atan2()


Does not inherit

Local Index

No Entries

Summary

Prototypes Header File(s)

template <class T>

   

RWMathVec<T>

atan(const RWMathVec<T>&)

<rw/math/mathvec.h>

RWMathVec<T>

atan2(const RWMathVec<T>&

const RWMathVec<T>&)

<rw/math/mathvec.h>

RWGenMat<T>

atan(const RWGenMat<T>&)

<rw/math/genmat.h>

RWGenMat<T>

atan2(const RWGenMat<T>&,

const RWGenMat<T>&)

<rw/math/genmat.h>

RWMathArray<T>

atan(const RWMathArray<T>&)

<rw/math/mtharray.h>

RWMathArray<T>

atan2(const RWMathArray<T>&,

const RWMathArray<T>&)

<rw/math/mtharray.h>

Description

The function atan() takes x and returns y of arc tangents (in radians), such that yi = tan-1xi, where -/2 < y /2.

The function atan2() takes two arguments and returns quadrant correct arc tangents z (in radians), such that zi = tan-1 ( xi / yi ). For each element i, the expression atan2(xi, yi) is mathematically equivalent to:

At least one of the arguments xi or yi must be nonzero.



Previous fileTop of DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.