5164
|
1 /* |
|
2 |
7017
|
3 Copyright (C) 2004, 2005, 2006, 2007 David Bateman |
7016
|
4 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004 Andy Adler |
|
5 |
|
6 This file is part of Octave. |
5164
|
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. |
5164
|
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/>. |
5164
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (octave_sparse_xdiv_h) |
|
25 #define octave_sparse_xdiv_h 1 |
|
26 |
|
27 #include "oct-cmplx.h" |
5785
|
28 #include "MatrixType.h" |
5164
|
29 |
|
30 class SparseMatrix; |
|
31 class SparseComplexMatrix; |
|
32 |
5785
|
33 extern Matrix xdiv (const Matrix& a, const SparseMatrix& b, MatrixType &typ); |
5322
|
34 extern ComplexMatrix xdiv (const Matrix& a, const SparseComplexMatrix& b, |
5785
|
35 MatrixType &typ); |
5322
|
36 extern ComplexMatrix xdiv (const ComplexMatrix& a, const SparseMatrix& b, |
5785
|
37 MatrixType &typ); |
5164
|
38 extern ComplexMatrix xdiv (const ComplexMatrix& a, |
5785
|
39 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
40 |
5322
|
41 extern SparseMatrix xdiv (const SparseMatrix& a, const SparseMatrix& b, |
5785
|
42 MatrixType &typ); |
5164
|
43 extern SparseComplexMatrix xdiv (const SparseMatrix& a, |
5785
|
44 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
45 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
5785
|
46 const SparseMatrix& b, MatrixType &typ); |
5164
|
47 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
5785
|
48 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
49 |
|
50 extern Matrix x_el_div (double a, const SparseMatrix& b); |
|
51 extern ComplexMatrix x_el_div (double a, const SparseComplexMatrix& b); |
|
52 extern ComplexMatrix x_el_div (const Complex a, const SparseMatrix& b); |
|
53 extern ComplexMatrix x_el_div (const Complex a, |
|
54 const SparseComplexMatrix& b); |
|
55 |
5322
|
56 extern Matrix xleftdiv (const SparseMatrix& a, const Matrix& b, |
5785
|
57 MatrixType& typ); |
5322
|
58 extern ComplexMatrix xleftdiv (const SparseMatrix& a, const ComplexMatrix& b, |
5785
|
59 MatrixType &typ); |
5322
|
60 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, const Matrix& b, |
5785
|
61 MatrixType &typ); |
5164
|
62 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
5785
|
63 const ComplexMatrix& b, MatrixType &typ); |
5164
|
64 |
5322
|
65 extern SparseMatrix xleftdiv (const SparseMatrix& a, const SparseMatrix& b, |
5785
|
66 MatrixType &typ); |
5164
|
67 extern SparseComplexMatrix xleftdiv (const SparseMatrix& a, |
5785
|
68 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
69 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
5785
|
70 const SparseMatrix& b, MatrixType &typ); |
5164
|
71 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
5785
|
72 const SparseComplexMatrix& b, MatrixType &typ); |
5164
|
73 |
|
74 #endif |
|
75 |
|
76 /* |
|
77 ;;; Local Variables: *** |
|
78 ;;; mode: C++ *** |
|
79 ;;; End: *** |
|
80 */ |