std::atan(std::valarray) (3) - Linux Manuals
std::atan(std::valarray): std::atan(std::valarray)
NAME
std::atan(std::valarray) - std::atan(std::valarray)
Synopsis
Defined in header <valarray>
template< class T >
valarray<T> atan( const valarray<T>& va );
For each element in va computes arc tangent of the value of the element.
Parameters
va - value array to apply the operation to
Return value
Value array containing arc tangents of the values in va.
Notes
Unqualified function (atan) is used to perform the computation. If such function is not available, std::atan is used due to argument dependent lookup.
The function can be implemented with the return type different from std::valarray. In this case, the replacement type has the following properties:
Possible implementation
Example
This section is incomplete
Reason: no example
See also
asin(std::valarray) (function template)
acos(std::valarray) (function template)
atan2(std::valarray) (function template)
tan(std::valarray) (function template)
atan
atanf
atanl computes arc tangent (arctan(x))
(C++11)
(C++11)
atan(std::complex) computes arc tangent of a complex number (arctan(z))
(C++11)