1967
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
1967
|
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 |
7016
|
9 Free Software Foundation; either version 3 of the License, or (at your |
|
10 option) any later version. |
1967
|
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 |
7016
|
18 along with Octave; see the file COPYING. If not, see |
|
19 <http://www.gnu.org/licenses/>. |
1967
|
20 |
|
21 */ |
|
22 |
|
23 #if !defined (octave_liboctave_mappers_h) |
|
24 #define octave_liboctave_mappers_h 1 |
|
25 |
|
26 #include "oct-cmplx.h" |
|
27 |
6108
|
28 extern OCTAVE_API double arg (double x); |
|
29 extern OCTAVE_API double conj (double x); |
|
30 extern OCTAVE_API double fix (double x); |
|
31 extern OCTAVE_API double imag (double x); |
|
32 extern OCTAVE_API double real (double x); |
|
33 extern OCTAVE_API double xround (double x); |
|
34 extern OCTAVE_API double signum (double x); |
|
35 extern OCTAVE_API double xlog2 (double x); |
|
36 extern OCTAVE_API double xexp2 (double x); |
1967
|
37 |
6108
|
38 extern OCTAVE_API bool xisnan (double x); |
|
39 extern OCTAVE_API bool xfinite (double x); |
|
40 extern OCTAVE_API bool xisinf (double x); |
3248
|
41 |
6108
|
42 extern OCTAVE_API bool octave_is_NA (double x); |
|
43 extern OCTAVE_API bool octave_is_NaN_or_NA (double x) GCC_ATTR_DEPRECATED; |
4025
|
44 |
6108
|
45 extern OCTAVE_API double xmin (double x, double y); |
|
46 extern OCTAVE_API double xmax (double x, double y); |
1967
|
47 |
6108
|
48 extern OCTAVE_API Complex acos (const Complex& x); |
|
49 extern OCTAVE_API Complex acosh (const Complex& x); |
|
50 extern OCTAVE_API Complex asin (const Complex& x); |
|
51 extern OCTAVE_API Complex asinh (const Complex& x); |
|
52 extern OCTAVE_API Complex atan (const Complex& x); |
|
53 extern OCTAVE_API Complex atanh (const Complex& x); |
3777
|
54 |
6108
|
55 extern OCTAVE_API Complex ceil (const Complex& x); |
|
56 extern OCTAVE_API Complex fix (const Complex& x); |
|
57 extern OCTAVE_API Complex floor (const Complex& x); |
|
58 extern OCTAVE_API Complex xround (const Complex& x); |
|
59 extern OCTAVE_API Complex signum (const Complex& x); |
3776
|
60 |
6108
|
61 extern OCTAVE_API bool xisnan (const Complex& x); |
|
62 extern OCTAVE_API bool xfinite (const Complex& x); |
|
63 extern OCTAVE_API bool xisinf (const Complex& x); |
3248
|
64 |
6108
|
65 extern OCTAVE_API bool octave_is_NA (const Complex& x); |
|
66 extern OCTAVE_API bool octave_is_NaN_or_NA (const Complex& x); |
4469
|
67 |
6108
|
68 extern OCTAVE_API Complex xmin (const Complex& x, const Complex& y); |
|
69 extern OCTAVE_API Complex xmax (const Complex& x, const Complex& y); |
3248
|
70 |
1967
|
71 #endif |
|
72 |
|
73 /* |
|
74 ;;; Local Variables: *** |
|
75 ;;; mode: C++ *** |
|
76 ;;; End: *** |
|
77 */ |