1
|
1 // xpow.h -*- C++ -*- |
|
2 /* |
|
3 |
1009
|
4 Copyright (C) 1992, 1993, 1994, 1995 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 |
|
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 |
1315
|
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
1
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_xpow_h) |
|
25 #define octave_xpow_h 1 |
1
|
26 |
164
|
27 class Complex; |
|
28 class Matrix; |
|
29 class ComplexMatrix; |
|
30 class tree_constant; |
1
|
31 |
|
32 extern tree_constant xpow (double a, double b); |
164
|
33 extern tree_constant xpow (double a, const Matrix& b); |
|
34 extern tree_constant xpow (double a, const Complex& b); |
|
35 extern tree_constant xpow (double a, const ComplexMatrix& b); |
1
|
36 |
164
|
37 extern tree_constant xpow (const Matrix& a, double b); |
|
38 extern tree_constant xpow (const Matrix& a, const Complex& b); |
1
|
39 |
164
|
40 extern tree_constant xpow (const Complex& a, double b); |
|
41 extern tree_constant xpow (const Complex& a, const Matrix& b); |
|
42 extern tree_constant xpow (const Complex& a, const Complex& b); |
|
43 extern tree_constant xpow (const Complex& a, const ComplexMatrix& b); |
1
|
44 |
164
|
45 extern tree_constant xpow (const ComplexMatrix& a, double b); |
|
46 extern tree_constant xpow (const ComplexMatrix& a, const Complex& b); |
1
|
47 |
164
|
48 extern tree_constant elem_xpow (double a, const Matrix& b); |
|
49 extern tree_constant elem_xpow (double a, const ComplexMatrix& b); |
1
|
50 |
164
|
51 extern tree_constant elem_xpow (const Matrix& a, double b); |
|
52 extern tree_constant elem_xpow (const Matrix& a, const Matrix& b); |
|
53 extern tree_constant elem_xpow (const Matrix& a, const Complex& b); |
|
54 extern tree_constant elem_xpow (const Matrix& a, const ComplexMatrix& b); |
1
|
55 |
164
|
56 extern tree_constant elem_xpow (const Complex& a, const Matrix& b); |
|
57 extern tree_constant elem_xpow (const Complex& a, const ComplexMatrix& b); |
1
|
58 |
164
|
59 extern tree_constant elem_xpow (const ComplexMatrix& a, double b); |
|
60 extern tree_constant elem_xpow (const ComplexMatrix& a, const Matrix& b); |
|
61 extern tree_constant elem_xpow (const ComplexMatrix& a, const Complex& b); |
|
62 extern tree_constant elem_xpow (const ComplexMatrix& a, |
|
63 const ComplexMatrix& b); |
1
|
64 |
|
65 #endif |
|
66 |
|
67 /* |
|
68 ;;; Local Variables: *** |
|
69 ;;; mode: C++ *** |
|
70 ;;; page-delimiter: "^/\\*" *** |
|
71 ;;; End: *** |
|
72 */ |