Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:03:53

0001 /* specfunc/gsl_sf_elementary.h
0002  * 
0003  * Copyright (C) 1996, 1997, 1998, 1999, 2000 Gerard Jungman
0004  * 
0005  * This program is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU General Public License as published by
0007  * the Free Software Foundation; either version 3 of the License, or (at
0008  * your option) any later version.
0009  * 
0010  * This program is distributed in the hope that it will be useful, but
0011  * WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0013  * General Public License for more details.
0014  * 
0015  * You should have received a copy of the GNU General Public License
0016  * along with this program; if not, write to the Free Software
0017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
0018  */
0019 
0020 /* Author:  G. Jungman */
0021 
0022 /* Miscellaneous elementary functions and operations.
0023  */
0024 #ifndef __GSL_SF_ELEMENTARY_H__
0025 #define __GSL_SF_ELEMENTARY_H__
0026 
0027 #include <gsl/gsl_sf_result.h>
0028 
0029 #undef __BEGIN_DECLS
0030 #undef __END_DECLS
0031 #ifdef __cplusplus
0032 # define __BEGIN_DECLS extern "C" {
0033 # define __END_DECLS }
0034 #else
0035 # define __BEGIN_DECLS /* empty */
0036 # define __END_DECLS /* empty */
0037 #endif
0038 
0039 __BEGIN_DECLS
0040 
0041 
0042 /* Multiplication.
0043  *
0044  * exceptions: GSL_EOVRFLW, GSL_EUNDRFLW
0045  */
0046 int gsl_sf_multiply_e(const double x, const double y, gsl_sf_result * result);
0047 double gsl_sf_multiply(const double x, const double y);
0048 
0049 
0050 /* Multiplication of quantities with associated errors.
0051  */
0052 int gsl_sf_multiply_err_e(const double x, const double dx, const double y, const double dy, gsl_sf_result * result);
0053 
0054 
0055 __END_DECLS
0056 
0057 #endif /* __GSL_SF_ELEMENTARY_H__ */