Namespaces
Variants
Views
Actions

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

From cppreference.com
< cpp‎ | numeric‎ | valarray
m (Text replace - "{{example cpp" to "{{example")
m (Text replace - "{{cpp|" to "{{c|")
Line 6: Line 6:
 
}}
 
}}
  
For each element in {{tt|va}} computes arc cosine of the value of the element. This is done by applying {{cpp|acos}} (unqualified) function.  
+
For each element in {{tt|va}} computes arc cosine of the value of the element. This is done by applying {{c|acos}} (unqualified) function.  
  
 
===Parameters===
 
===Parameters===

Revision as of 20:39, 19 April 2012

Template:cpp/numeric/valarray/sidebar

Defined in header <valarray>
template< class T >
valarray<T> acos( const valarray<T>& va );

For each element in va computes arc cosine of the value of the element. This is done by applying acos (unqualified) function.

Contents

Parameters

va - value array to apply the operation to

Return value

Value array containing arc cosines of the values in va.

Notes

Template:cpp/numeric/valarray/notes

Possible implementation

Template:eq fun cpp

Example