Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | numeric‎ | valarray
(+)
 
m (Text replace - "===Equivalent function===" to "===Possible implementation===")
Line 19: Line 19:
 
{{cpp/numeric/valarray/notes|atan}}
 
{{cpp/numeric/valarray/notes|atan}}
  
===Equivalent function===
+
===Possible implementation===
 
{{eq fun cpp | 1=
 
{{eq fun cpp | 1=
 
template< class T >
 
template< class T >

Revision as of 12:00, 19 March 2012

Template:cpp/numeric/valarray/sidebar

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 Template:cpp (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

Template:example cpp