|  | Rosetta
    3.7
    | 
Trigonometric functions. More...
#include <numeric/numeric.functions.hh>#include <utility/exit.hh>#include <utility/assert.hh>#include <cmath>#include <cstdlib>#include <iomanip>#include <iostream>#include <utility/excn/Exceptions.hh>| Namespaces | |
| numeric | |
| Unit headers. | |
| Functions | |
| template<typename T > | |
| T | numeric::sec (T const &x) | 
| Secant.  More... | |
| template<typename T > | |
| T | numeric::csc (T const &x) | 
| Cosecant.  More... | |
| template<typename T > | |
| T | numeric::cot (T const &x) | 
| Cotangent.  More... | |
| template<typename T > | |
| bool | numeric::in_sin_cos_range (T const &x, T const &tol=T(.001)) | 
| Is a sine or cosine value within a specified tolerance of the valid [-1,1] range?  More... | |
| template<typename T > | |
| T | numeric::sin_cos_range (T const &x, T const &tol=T(.001)) | 
| Adjust a sine or cosine value to the valid [-1,1] range if within a specified tolerance or exit with an error.  More... | |
| template<typename T > | |
| T | numeric::arccos (T const x) | 
| like std::acos but with range checking  More... | |
Trigonometric functions.
 1.8.7
 1.8.7