Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/numeric/valarray/atan"

From cppreference.com
< cpp‎ | numeric‎ | valarray
m (Text replace - "{{cpp|" to "{{c|")
m (Text replace - "/sidebar" to "/navbar")
Line 1: Line 1:
 
{{cpp/title|atan{{small|(std::valarray)}}}}
 
{{cpp/title|atan{{small|(std::valarray)}}}}
{{cpp/numeric/valarray/sidebar}}
+
{{cpp/numeric/valarray/navbar}}
 
{{ddcl | header=valarray | 1=
 
{{ddcl | header=valarray | 1=
 
template< class T >
 
template< class T >

Revision as of 13:58, 15 June 2012

 
 
 
 
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. This is done by applying atan (unqualified) function.

Contents

Parameters

va - value array to apply the operation to

Return value

Value array containing arc tangents of the values in va.

Notes

Template:cpp/numeric/valarray/notes

Possible implementation

Template:eq fun cpp

Example