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