Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /* diff/gsl_diff.h
0002  * 
0003  * Copyright (C) 2000 David Morrison
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 #ifndef __GSL_DIFF_H__
0021 #define __GSL_DIFF_H__
0022 #include <gsl/gsl_math.h>
0023 
0024 #undef __BEGIN_DECLS
0025 #undef __END_DECLS
0026 #ifdef __cplusplus
0027 # define __BEGIN_DECLS extern "C" {
0028 # define __END_DECLS }
0029 #else
0030 # define __BEGIN_DECLS /* empty */
0031 # define __END_DECLS /* empty */
0032 #endif
0033 
0034 __BEGIN_DECLS
0035 
0036 #ifndef GSL_DISABLE_DEPRECATED
0037 int gsl_diff_central (const gsl_function *f,
0038                       double x,
0039                       double *result, double *abserr);
0040 
0041 int gsl_diff_backward (const gsl_function *f,
0042                        double x,
0043                        double *result, double *abserr);
0044 
0045 int gsl_diff_forward (const gsl_function *f,
0046                       double x,
0047                       double *result, double *abserr);
0048 #endif
0049 
0050 __END_DECLS
0051 
0052 #endif /* __GSL_DIFF_H__ */