1
|
1 /* |
|
2 |
7017
|
3 Copyright (C) 1993, 1994, 1995, 1996, 1997, 2002, 2003, 2005, 2007 |
|
4 John W. Eaton |
1
|
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 |
7016
|
10 Free Software Foundation; either version 3 of the License, or (at your |
|
11 option) any later version. |
1
|
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 |
7016
|
19 along with Octave; see the file COPYING. If not, see |
|
20 <http://www.gnu.org/licenses/>. |
1
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_xpow_h) |
|
25 #define octave_xpow_h 1 |
1
|
26 |
1651
|
27 #include "oct-cmplx.h" |
|
28 |
164
|
29 class Matrix; |
|
30 class ComplexMatrix; |
2086
|
31 class octave_value; |
1
|
32 |
2086
|
33 extern octave_value xpow (double a, double b); |
|
34 extern octave_value xpow (double a, const Matrix& b); |
|
35 extern octave_value xpow (double a, const Complex& b); |
|
36 extern octave_value xpow (double a, const ComplexMatrix& b); |
1
|
37 |
2086
|
38 extern octave_value xpow (const Matrix& a, double b); |
|
39 extern octave_value xpow (const Matrix& a, const Complex& b); |
1
|
40 |
2086
|
41 extern octave_value xpow (const Complex& a, double b); |
|
42 extern octave_value xpow (const Complex& a, const Matrix& b); |
|
43 extern octave_value xpow (const Complex& a, const Complex& b); |
|
44 extern octave_value xpow (const Complex& a, const ComplexMatrix& b); |
1
|
45 |
2086
|
46 extern octave_value xpow (const ComplexMatrix& a, double b); |
|
47 extern octave_value xpow (const ComplexMatrix& a, const Complex& b); |
1
|
48 |
2086
|
49 extern octave_value elem_xpow (double a, const Matrix& b); |
|
50 extern octave_value elem_xpow (double a, const ComplexMatrix& b); |
1
|
51 |
2086
|
52 extern octave_value elem_xpow (const Matrix& a, double b); |
|
53 extern octave_value elem_xpow (const Matrix& a, const Matrix& b); |
|
54 extern octave_value elem_xpow (const Matrix& a, const Complex& b); |
|
55 extern octave_value elem_xpow (const Matrix& a, const ComplexMatrix& b); |
1
|
56 |
2086
|
57 extern octave_value elem_xpow (const Complex& a, const Matrix& b); |
|
58 extern octave_value elem_xpow (const Complex& a, const ComplexMatrix& b); |
1
|
59 |
2086
|
60 extern octave_value elem_xpow (const ComplexMatrix& a, double b); |
|
61 extern octave_value elem_xpow (const ComplexMatrix& a, const Matrix& b); |
|
62 extern octave_value elem_xpow (const ComplexMatrix& a, const Complex& b); |
4188
|
63 extern octave_value elem_xpow (const ComplexMatrix& a, const ComplexMatrix& b); |
1
|
64 |
4543
|
65 |
|
66 extern octave_value elem_xpow (double a, const NDArray& b); |
|
67 extern octave_value elem_xpow (double a, const ComplexNDArray& b); |
|
68 |
|
69 extern octave_value elem_xpow (const NDArray& a, double b); |
|
70 extern octave_value elem_xpow (const NDArray& a, const NDArray& b); |
|
71 extern octave_value elem_xpow (const NDArray& a, const Complex& b); |
|
72 extern octave_value elem_xpow (const NDArray& a, const ComplexNDArray& b); |
|
73 |
|
74 extern octave_value elem_xpow (const Complex& a, const NDArray& b); |
|
75 extern octave_value elem_xpow (const Complex& a, const ComplexNDArray& b); |
|
76 |
|
77 extern octave_value elem_xpow (const ComplexNDArray& a, double b); |
|
78 extern octave_value elem_xpow (const ComplexNDArray& a, const NDArray& b); |
|
79 extern octave_value elem_xpow (const ComplexNDArray& a, const Complex& b); |
|
80 extern octave_value elem_xpow (const ComplexNDArray& a, const ComplexNDArray& b); |
|
81 |
1
|
82 #endif |
|
83 |
|
84 /* |
|
85 ;;; Local Variables: *** |
|
86 ;;; mode: C++ *** |
|
87 ;;; End: *** |
|
88 */ |