5164
|
1 /* |
|
2 |
|
3 Copyright (C) 2004 David Bateman |
|
4 Copyright (C) 1998-2004 Andy Adler |
|
5 |
|
6 Octave is free software; you can redistribute it and/or modify it |
|
7 under the terms of the GNU General Public License as published by the |
|
8 Free Software Foundation; either version 2, or (at your option) any |
|
9 later version. |
|
10 |
|
11 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
14 for more details. |
|
15 |
|
16 You should have received a copy of the GNU General Public License |
|
17 along with this program; see the file COPYING. If not, write to the Free |
|
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
19 |
|
20 */ |
|
21 |
|
22 #if !defined (octave_sparse_xpow_h) |
|
23 #define octave_sparse_xpow_h 1 |
|
24 |
|
25 #include "oct-cmplx.h" |
|
26 |
|
27 class SparseMatrix; |
|
28 class SparseComplexMatrix; |
|
29 class octave_value; |
|
30 |
|
31 extern octave_value xpow (const SparseMatrix& a, double b); |
|
32 extern octave_value xpow (const SparseComplexMatrix& a, double b); |
|
33 |
|
34 extern octave_value elem_xpow (double a, const SparseMatrix& b); |
|
35 extern octave_value elem_xpow (double a, const SparseComplexMatrix& b); |
|
36 |
|
37 extern octave_value elem_xpow (const SparseMatrix& a, double b); |
|
38 extern octave_value elem_xpow (const SparseMatrix& a, const SparseMatrix& b); |
|
39 extern octave_value elem_xpow (const SparseMatrix& a, const Complex& b); |
|
40 extern octave_value elem_xpow (const SparseMatrix& a, |
|
41 const SparseComplexMatrix& b); |
|
42 |
|
43 extern octave_value elem_xpow (const Complex& a, const SparseMatrix& b); |
|
44 extern octave_value elem_xpow (const Complex& a, |
|
45 const SparseComplexMatrix& b); |
|
46 |
|
47 extern octave_value elem_xpow (const SparseComplexMatrix& a, double b); |
|
48 extern octave_value elem_xpow (const SparseComplexMatrix& a, |
|
49 const SparseMatrix& b); |
|
50 extern octave_value elem_xpow (const SparseComplexMatrix& a, |
|
51 const Complex& b); |
|
52 extern octave_value elem_xpow (const SparseComplexMatrix& a, |
|
53 const SparseComplexMatrix& b); |
|
54 |
|
55 #endif |
|
56 |
|
57 /* |
|
58 ;;; Local Variables: *** |
|
59 ;;; mode: C++ *** |
|
60 ;;; End: *** |
|
61 */ |