3146
|
1 /* |
|
2 |
|
3 Copyright (C) 1996, 1997 John W. Eaton |
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
|
9 Free Software Foundation; either version 2, or (at your option) any |
|
10 later version. |
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
|
18 along with Octave; see the file COPYING. If not, write to the Free |
|
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
20 |
|
21 */ |
|
22 |
|
23 #if !defined (octave_liboctave_specfun_h) |
|
24 #define octave_liboctave_specfun_h 1 |
|
25 |
|
26 class ColumnVector; |
|
27 class Matrix; |
|
28 class Range; |
|
29 |
|
30 #if !defined (HAVE_ACOSH) |
|
31 extern double acosh (double); |
|
32 #endif |
|
33 |
|
34 #if !defined (HAVE_ASINH) |
|
35 extern double asinh (double); |
|
36 #endif |
|
37 |
|
38 #if !defined (HAVE_ATANH) |
|
39 extern double atanh (double); |
|
40 #endif |
|
41 |
|
42 #if !defined (HAVE_ERF) |
|
43 extern double erf (double); |
|
44 #endif |
|
45 |
|
46 #if !defined (HAVE_ERFC) |
|
47 extern double erfc (double); |
|
48 #endif |
|
49 |
|
50 #if !defined (HAVE_GAMMA) |
|
51 extern double gamma (double); |
|
52 #endif |
|
53 |
|
54 #if !defined (HAVE_LGAMMA) |
|
55 extern double lgamma (double); |
|
56 #endif |
|
57 |
|
58 extern Matrix besselj (double alpha, const Matrix& x); |
|
59 extern Matrix bessely (double alpha, const Matrix& x); |
|
60 extern Matrix besseli (double alpha, const Matrix& x); |
|
61 extern Matrix besselk (double alpha, const Matrix& x); |
|
62 |
|
63 extern Matrix besselj (const Range& alpha, const ColumnVector& x); |
|
64 extern Matrix bessely (const Range& alpha, const ColumnVector& x); |
|
65 extern Matrix besseli (const Range& alpha, const ColumnVector& x); |
|
66 extern Matrix besselk (const Range& alpha, const ColumnVector& x); |
|
67 |
|
68 extern double betainc (double x, double a, double b); |
|
69 extern Matrix betainc (double x, double a, const Matrix& b); |
|
70 extern Matrix betainc (double x, const Matrix& a, double b); |
|
71 extern Matrix betainc (double x, const Matrix& a, const Matrix& b); |
|
72 |
|
73 extern Matrix betainc (const Matrix& x, double a, double b); |
|
74 extern Matrix betainc (const Matrix& x, double a, const Matrix& b); |
|
75 extern Matrix betainc (const Matrix& x, const Matrix& a, double b); |
|
76 extern Matrix betainc (const Matrix& x, const Matrix& a, const Matrix& b); |
|
77 |
|
78 extern double gammainc (double x, double a); |
|
79 extern Matrix gammainc (double x, const Matrix& a); |
|
80 extern Matrix gammainc (const Matrix& x, double a); |
|
81 extern Matrix gammainc (const Matrix& x, const Matrix& a); |
|
82 |
|
83 #endif |
|
84 |
|
85 /* |
|
86 ;;; Local Variables: *** |
|
87 ;;; mode: C *** |
|
88 ;;; page-delimiter: "^/\\*" *** |
|
89 ;;; End: *** |
|
90 */ |