ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
sf_sincos_pi.hpp
Go to the documentation of this file.
1/*
2 * $Id: sf_exp.hpp 9 2010-06-13 14:02:43Z jdl3 $
3 * Copyright (C) 2019 John D Lamb
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20#ifndef CCGSL_SF_SINCOS_PI_HPP
21#define CCGSL_SF_SINCOS_PI_HPP
22
23#include<gsl/gsl_sf_sincos_pi.h>
24//#include"mode.hpp"
25#include"sf_result.hpp"
26
27namespace gsl {
28 namespace sf {
36 inline int sin_pi_e( double x, result& result ){ return gsl_sf_sin_pi_e( x, &result ); }
43 inline double sin_pi( double const x ){ return gsl_sf_sin_pi( x ); }
51 inline int cos_pi_e( double x, result& result ){ return gsl_sf_cos_pi_e( x, &result ); }
58 inline double cos_pi( double const x ){ return gsl_sf_cos_pi( x ); }
59 }
60}
61
62#endif
int cos_pi_e(double x, result &result)
C++ version of gsl_sf_cos_pi_e().
double sin_pi(double const x)
C++ version of gsl_sf_sin_pi().
int sin_pi_e(double x, result &result)
C++ version of gsl_sf_sin_pi_e().
double cos_pi(double const x)
C++ version of gsl_sf_cos_pi().
gsl_sf_result result
Typedef for gsl_sf_result.
Definition: sf_result.hpp:30
The gsl package creates an interface to the GNU Scientific Library for C++.
Definition: blas.hpp:34