Mercurial > hg > octave-lyh
annotate libinterp/corefcn/sparse-xdiv.h @ 17535:c12c688a35ed default tip lyh
Fix warnings
author | LYH <lyh.kernel@gmail.com> |
---|---|
date | Fri, 27 Sep 2013 17:43:27 +0800 |
parents | 68fc671a9339 |
children |
rev | line source |
---|---|
5164 | 1 /* |
2 | |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
11586
diff
changeset
|
3 Copyright (C) 2004-2012 David Bateman |
11523 | 4 Copyright (C) 1998-2004 Andy Adler |
7016 | 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 |
8965
42aff15e059b
Implement diag \ sparse and sparse / diag.
Jason Riedy <jason@acm.org>
parents:
7017
diff
changeset
|
30 class DiagMatrix; |
42aff15e059b
Implement diag \ sparse and sparse / diag.
Jason Riedy <jason@acm.org>
parents:
7017
diff
changeset
|
31 class ComplexDiagMatrix; |
5164 | 32 class SparseMatrix; |
33 class SparseComplexMatrix; | |
34 | |
5785 | 35 extern Matrix xdiv (const Matrix& a, const SparseMatrix& b, MatrixType &typ); |
5322 | 36 extern ComplexMatrix xdiv (const Matrix& a, const SparseComplexMatrix& b, |
10313 | 37 MatrixType &typ); |
5322 | 38 extern ComplexMatrix xdiv (const ComplexMatrix& a, const SparseMatrix& b, |
10313 | 39 MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
40 extern ComplexMatrix xdiv (const ComplexMatrix& a, |
10313 | 41 const SparseComplexMatrix& b, MatrixType &typ); |
5164 | 42 |
5322 | 43 extern SparseMatrix xdiv (const SparseMatrix& a, const SparseMatrix& b, |
10313 | 44 MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
45 extern SparseComplexMatrix xdiv (const SparseMatrix& a, |
10313 | 46 const SparseComplexMatrix& b, MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
47 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
10313 | 48 const SparseMatrix& b, MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
49 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
10313 | 50 const SparseComplexMatrix& b, MatrixType &typ); |
5164 | 51 |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
52 extern SparseMatrix xdiv (const SparseMatrix& a, |
10313 | 53 const DiagMatrix& b, MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
54 extern SparseComplexMatrix xdiv (const SparseMatrix& a, |
10313 | 55 const ComplexDiagMatrix& b, MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
56 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
10313 | 57 const DiagMatrix& b, MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
58 extern SparseComplexMatrix xdiv (const SparseComplexMatrix& a, |
10313 | 59 const ComplexDiagMatrix& b, MatrixType &typ); |
8965
42aff15e059b
Implement diag \ sparse and sparse / diag.
Jason Riedy <jason@acm.org>
parents:
7017
diff
changeset
|
60 |
5164 | 61 extern Matrix x_el_div (double a, const SparseMatrix& b); |
62 extern ComplexMatrix x_el_div (double a, const SparseComplexMatrix& b); | |
63 extern ComplexMatrix x_el_div (const Complex a, const SparseMatrix& b); | |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
64 extern ComplexMatrix x_el_div (const Complex a, |
10313 | 65 const SparseComplexMatrix& b); |
5164 | 66 |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
67 extern Matrix xleftdiv (const SparseMatrix& a, const Matrix& b, |
10313 | 68 MatrixType& typ); |
5322 | 69 extern ComplexMatrix xleftdiv (const SparseMatrix& a, const ComplexMatrix& b, |
10313 | 70 MatrixType &typ); |
5322 | 71 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, const Matrix& b, |
10313 | 72 MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
73 extern ComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
10313 | 74 const ComplexMatrix& b, MatrixType &typ); |
5164 | 75 |
5322 | 76 extern SparseMatrix xleftdiv (const SparseMatrix& a, const SparseMatrix& b, |
10313 | 77 MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
78 extern SparseComplexMatrix xleftdiv (const SparseMatrix& a, |
10313 | 79 const SparseComplexMatrix& b, MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
80 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
10313 | 81 const SparseMatrix& b, MatrixType &typ); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
82 extern SparseComplexMatrix xleftdiv (const SparseComplexMatrix& a, |
10313 | 83 const SparseComplexMatrix& b, MatrixType &typ); |
5164 | 84 |
8965
42aff15e059b
Implement diag \ sparse and sparse / diag.
Jason Riedy <jason@acm.org>
parents:
7017
diff
changeset
|
85 extern SparseMatrix xleftdiv (const DiagMatrix&, const SparseMatrix&, MatrixType&); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
86 extern SparseComplexMatrix xleftdiv (const ComplexDiagMatrix&, const SparseMatrix&, |
10313 | 87 MatrixType&); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
88 extern SparseComplexMatrix xleftdiv (const DiagMatrix&, const SparseComplexMatrix&, |
10313 | 89 MatrixType&); |
11586
12df7854fa7c
strip trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
90 extern SparseComplexMatrix xleftdiv (const ComplexDiagMatrix&, const SparseComplexMatrix&, |
10313 | 91 MatrixType&); |
8965
42aff15e059b
Implement diag \ sparse and sparse / diag.
Jason Riedy <jason@acm.org>
parents:
7017
diff
changeset
|
92 |
5164 | 93 #endif |