Some menu shuffling.
[grace.git] / src / mathstuff.h
blob54e1e3f1b44832e244071949f6f47bf48175a418
1 /*
2 * Grace - GRaphing, Advanced Computation and Exploration of data
3 *
4 * Home page: http://plasma-gate.weizmann.ac.il/Grace/
5 *
6 * Copyright (c) 1991-1995 Paul J Turner, Portland, OR
7 * Copyright (c) 1996-2001 Grace Development Team
8 *
9 * Maintained by Evgeny Stambulchik
12 * All Rights Reserved
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 2 of the License, or
17 * (at your option) any later version.
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 /* Wrappers for some math functions */
31 #ifndef _MATHSTUFF_H__
32 #define _MATHSTUFF_H__
34 double ai_wrap(double x);
35 double bi_wrap(double x);
36 double chi_wrap(double x);
37 double ci_wrap(double x);
38 double ellpe_wrap(double x);
39 double ellpk_wrap(double x);
40 double fresnlc_wrap(double x);
41 double fresnls_wrap(double x);
42 double fx(double x);
43 double iv_wrap(double v, double x);
44 double jv_wrap(double v, double x);
45 double kn_wrap(int n, double x);
46 double max_wrap(double x, double y);
47 double min_wrap(double x, double y);
48 double irand_wrap(int x);
49 double rnorm(double mean, double sdev);
50 double shi_wrap(double x);
51 double si_wrap(double x);
52 double sqr_wrap(double x);
53 double yv_wrap(double v, double x);
55 /* constants */
56 double pi_const(void);
57 double deg_uconst(void);
58 double rad_uconst(void);
60 #endif /* _MATHSTUFF_H__ */