1
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
1
|
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. |
1
|
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/>. |
1
|
20 |
|
21 */ |
|
22 |
383
|
23 #if !defined (octave_xpow_h) |
|
24 #define octave_xpow_h 1 |
1
|
25 |
1651
|
26 #include "oct-cmplx.h" |
|
27 |
164
|
28 class Matrix; |
|
29 class ComplexMatrix; |
2086
|
30 class octave_value; |
1
|
31 |
2086
|
32 extern octave_value xpow (double a, double b); |
|
33 extern octave_value xpow (double a, const Matrix& b); |
|
34 extern octave_value xpow (double a, const Complex& b); |
|
35 extern octave_value xpow (double a, const ComplexMatrix& b); |
1
|
36 |
2086
|
37 extern octave_value xpow (const Matrix& a, double b); |
|
38 extern octave_value xpow (const Matrix& a, const Complex& b); |
1
|
39 |
2086
|
40 extern octave_value xpow (const Complex& a, double b); |
|
41 extern octave_value xpow (const Complex& a, const Matrix& b); |
|
42 extern octave_value xpow (const Complex& a, const Complex& b); |
|
43 extern octave_value xpow (const Complex& a, const ComplexMatrix& b); |
1
|
44 |
2086
|
45 extern octave_value xpow (const ComplexMatrix& a, double b); |
|
46 extern octave_value xpow (const ComplexMatrix& a, const Complex& b); |
1
|
47 |
2086
|
48 extern octave_value elem_xpow (double a, const Matrix& b); |
|
49 extern octave_value elem_xpow (double a, const ComplexMatrix& b); |
1
|
50 |
2086
|
51 extern octave_value elem_xpow (const Matrix& a, double b); |
|
52 extern octave_value elem_xpow (const Matrix& a, const Matrix& b); |
|
53 extern octave_value elem_xpow (const Matrix& a, const Complex& b); |
|
54 extern octave_value elem_xpow (const Matrix& a, const ComplexMatrix& b); |
1
|
55 |
2086
|
56 extern octave_value elem_xpow (const Complex& a, const Matrix& b); |
|
57 extern octave_value elem_xpow (const Complex& a, const ComplexMatrix& b); |
1
|
58 |
2086
|
59 extern octave_value elem_xpow (const ComplexMatrix& a, double b); |
|
60 extern octave_value elem_xpow (const ComplexMatrix& a, const Matrix& b); |
|
61 extern octave_value elem_xpow (const ComplexMatrix& a, const Complex& b); |
4188
|
62 extern octave_value elem_xpow (const ComplexMatrix& a, const ComplexMatrix& b); |
1
|
63 |
4543
|
64 |
|
65 extern octave_value elem_xpow (double a, const NDArray& b); |
|
66 extern octave_value elem_xpow (double a, const ComplexNDArray& b); |
|
67 |
|
68 extern octave_value elem_xpow (const NDArray& a, double b); |
|
69 extern octave_value elem_xpow (const NDArray& a, const NDArray& b); |
|
70 extern octave_value elem_xpow (const NDArray& a, const Complex& b); |
|
71 extern octave_value elem_xpow (const NDArray& a, const ComplexNDArray& b); |
|
72 |
|
73 extern octave_value elem_xpow (const Complex& a, const NDArray& b); |
|
74 extern octave_value elem_xpow (const Complex& a, const ComplexNDArray& b); |
|
75 |
|
76 extern octave_value elem_xpow (const ComplexNDArray& a, double b); |
|
77 extern octave_value elem_xpow (const ComplexNDArray& a, const NDArray& b); |
|
78 extern octave_value elem_xpow (const ComplexNDArray& a, const Complex& b); |
|
79 extern octave_value elem_xpow (const ComplexNDArray& a, const ComplexNDArray& b); |
|
80 |
1
|
81 #endif |
|
82 |
|
83 /* |
|
84 ;;; Local Variables: *** |
|
85 ;;; mode: C++ *** |
|
86 ;;; End: *** |
|
87 */ |