1
|
1 // mappers.h -*- C++ -*- |
|
2 /* |
|
3 |
|
4 Copyright (C) 1992, 1993 John W. Eaton |
|
5 |
|
6 This file is part of Octave. |
|
7 |
|
8 Octave is free software; you can redistribute it and/or modify it |
|
9 under the terms of the GNU General Public License as published by the |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
12 |
|
13 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
16 for more details. |
|
17 |
|
18 You should have received a copy of the GNU General Public License |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (_mappers_h) |
|
25 #define _mappers_h 1 |
|
26 |
164
|
27 class Complex; |
1
|
28 |
|
29 #include "missing-math.h" |
|
30 |
|
31 extern double arg (double x); |
|
32 extern double conj (double x); |
|
33 extern double fix (double x); |
|
34 extern double imag (double x); |
|
35 extern double real (double x); |
|
36 extern double round (double x); |
|
37 extern double signum (double x); |
|
38 extern double xfinite (double x); |
|
39 extern double xisinf (double x); |
|
40 extern double xisnan (double x); |
|
41 |
|
42 extern double xfinite (const Complex& x); |
|
43 extern double xisinf (const Complex& x); |
|
44 extern double xisnan (const Complex& x); |
|
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); |
|
52 extern Complex ceil (const Complex& x); |
|
53 extern Complex fix (const Complex& x); |
|
54 extern Complex floor (const Complex& x); |
|
55 extern Complex log10 (const Complex& x); |
|
56 extern Complex round (const Complex& x); |
|
57 extern Complex signum (const Complex& x); |
|
58 extern Complex tan (const Complex& x); |
|
59 extern Complex tanh (const Complex& x); |
|
60 |
|
61 #endif |
|
62 |
|
63 /* |
|
64 ;;; Local Variables: *** |
|
65 ;;; mode: C++ *** |
|
66 ;;; page-delimiter: "^/\\*" *** |
|
67 ;;; End: *** |
|
68 */ |