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 |
5307
|
17 along with this program; see the file COPYING. If not, write to the |
|
18 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|
19 Boston, MA 02110-1301, USA. |
5164
|
20 |
|
21 */ |
|
22 |
|
23 #if !defined (octave_sparse_xdiv_h) |
|
24 #define octave_sparse_xdiv_h 1 |
|
25 |
|
26 #include "oct-cmplx.h" |
5785
|
27 #include "MatrixType.h" |
5164
|
28 |
|
29 class SparseMatrix; |
|
30 class SparseComplexMatrix; |
|
31 |
5785
|
32 extern Matrix xdiv (const Matrix& a, const SparseMatrix& b, MatrixType &typ); |
5322
|
33 extern ComplexMatrix xdiv (const Matrix& a, const SparseComplexMatrix& b, |
5785
|
34 MatrixType &typ); |
5322
|
35 extern ComplexMatrix xdiv (const ComplexMatrix& a, const SparseMatrix& b, |
5785
|
36 MatrixType &typ); |
5164
|
37 extern ComplexMatrix xdiv (const ComplexMatrix& a, |
5785
|
38 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
39 |
5322
|
40 extern SparseMatrix xdiv (const SparseMatrix& a, const SparseMatrix& b, |
5785
|
41 MatrixType &typ); |
5164
|
42 extern SparseComplexMatrix xdiv (const SparseMatrix& a, |
5785
|
43 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
44 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
5785
|
45 const SparseMatrix& b, MatrixType &typ); |
5164
|
46 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
5785
|
47 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
48 |
|
49 extern Matrix x_el_div (double a, const SparseMatrix& b); |
|
50 extern ComplexMatrix x_el_div (double a, const SparseComplexMatrix& b); |
|
51 extern ComplexMatrix x_el_div (const Complex a, const SparseMatrix& b); |
|
52 extern ComplexMatrix x_el_div (const Complex a, |
|
53 const SparseComplexMatrix& b); |
|
54 |
5322
|
55 extern Matrix xleftdiv (const SparseMatrix& a, const Matrix& b, |
5785
|
56 MatrixType& typ); |
5322
|
57 extern ComplexMatrix xleftdiv (const SparseMatrix& a, const ComplexMatrix& b, |
5785
|
58 MatrixType &typ); |
5322
|
59 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, const Matrix& b, |
5785
|
60 MatrixType &typ); |
5164
|
61 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
5785
|
62 const ComplexMatrix& b, MatrixType &typ); |
5164
|
63 |
5322
|
64 extern SparseMatrix xleftdiv (const SparseMatrix& a, const SparseMatrix& b, |
5785
|
65 MatrixType &typ); |
5164
|
66 extern SparseComplexMatrix xleftdiv (const SparseMatrix& a, |
5785
|
67 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
68 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
5785
|
69 const SparseMatrix& b, MatrixType &typ); |
5164
|
70 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
5785
|
71 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
72 |
|
73 #endif |
|
74 |
|
75 /* |
|
76 ;;; Local Variables: *** |
|
77 ;;; mode: C++ *** |
|
78 ;;; End: *** |
|
79 */ |