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 |
|
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 |
5307
|
19 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
|
20 02110-1301, USA. |
1967
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (octave_liboctave_mappers_h) |
|
25 #define octave_liboctave_mappers_h 1 |
|
26 |
|
27 #include "oct-cmplx.h" |
|
28 |
|
29 extern double arg (double x); |
|
30 extern double conj (double x); |
|
31 extern double fix (double x); |
|
32 extern double imag (double x); |
|
33 extern double real (double x); |
4968
|
34 extern double xround (double x); |
1967
|
35 extern double signum (double x); |
|
36 |
3248
|
37 extern bool xisnan (double x); |
|
38 extern bool xfinite (double x); |
|
39 extern bool xisinf (double x); |
|
40 |
4025
|
41 extern bool octave_is_NA (double x); |
5389
|
42 extern bool octave_is_NaN_or_NA (double x) GCC_ATTR_DEPRECATED; |
4025
|
43 |
3248
|
44 extern double xmin (double x, double y); |
|
45 extern double xmax (double x, double y); |
1967
|
46 |
|
47 extern Complex acos (const Complex& x); |
|
48 extern Complex acosh (const Complex& x); |
|
49 extern Complex asin (const Complex& x); |
|
50 extern Complex asinh (const Complex& x); |
|
51 extern Complex atan (const Complex& x); |
|
52 extern Complex atanh (const Complex& x); |
3777
|
53 |
1967
|
54 extern Complex ceil (const Complex& x); |
|
55 extern Complex fix (const Complex& x); |
|
56 extern Complex floor (const Complex& x); |
4968
|
57 extern Complex xround (const Complex& x); |
1967
|
58 extern Complex signum (const Complex& x); |
3776
|
59 |
3248
|
60 extern bool xisnan (const Complex& x); |
|
61 extern bool xfinite (const Complex& x); |
|
62 extern bool xisinf (const Complex& x); |
|
63 |
4469
|
64 extern bool octave_is_NA (const Complex& x); |
|
65 extern bool octave_is_NaN_or_NA (const Complex& x); |
|
66 |
3248
|
67 extern Complex xmin (const Complex& x, const Complex& y); |
|
68 extern Complex xmax (const Complex& x, const Complex& y); |
|
69 |
1967
|
70 #endif |
|
71 |
|
72 /* |
|
73 ;;; Local Variables: *** |
|
74 ;;; mode: C++ *** |
|
75 ;;; End: *** |
|
76 */ |