1
|
1 /* |
|
2 |
7017
|
3 Copyright (C) 1993, 1994, 1995, 1996, 1997, 2003, 2005, 2006, 2007 |
|
4 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 |
7016
|
10 Free Software Foundation; either version 3 of the License, or (at your |
|
11 option) any later version. |
1
|
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/>. |
1
|
21 |
|
22 */ |
|
23 |
383
|
24 #if !defined (octave_xdiv_h) |
|
25 #define octave_xdiv_h 1 |
1
|
26 |
1651
|
27 #include "oct-cmplx.h" |
5785
|
28 #include "MatrixType.h" |
1651
|
29 |
164
|
30 class Matrix; |
|
31 class ComplexMatrix; |
1
|
32 |
4543
|
33 class NDArray; |
|
34 class ComplexNDArray; |
|
35 |
5785
|
36 extern Matrix xdiv (const Matrix& a, const Matrix& b, MatrixType &typ); |
|
37 extern ComplexMatrix xdiv (const Matrix& a, const ComplexMatrix& b, |
|
38 MatrixType &typ); |
|
39 extern ComplexMatrix xdiv (const ComplexMatrix& a, const Matrix& b, |
|
40 MatrixType &typ); |
|
41 extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexMatrix& b, |
|
42 MatrixType &typ); |
1
|
43 |
1800
|
44 extern Matrix x_el_div (double a, const Matrix& b); |
|
45 extern ComplexMatrix x_el_div (double a, const ComplexMatrix& b); |
|
46 extern ComplexMatrix x_el_div (const Complex a, const Matrix& b); |
|
47 extern ComplexMatrix x_el_div (const Complex a, const ComplexMatrix& b); |
1
|
48 |
4543
|
49 extern NDArray x_el_div (double a, const NDArray& b); |
|
50 extern ComplexNDArray x_el_div (double a, const ComplexNDArray& b); |
|
51 extern ComplexNDArray x_el_div (const Complex a, const NDArray& b); |
|
52 extern ComplexNDArray x_el_div (const Complex a, const ComplexNDArray& b); |
|
53 |
5785
|
54 extern Matrix xleftdiv (const Matrix& a, const Matrix& b, MatrixType &typ); |
|
55 extern ComplexMatrix xleftdiv (const Matrix& a, const ComplexMatrix& b, |
|
56 MatrixType &typ); |
|
57 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const Matrix& b, |
|
58 MatrixType &typ); |
|
59 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b, |
|
60 MatrixType &typ); |
1
|
61 |
|
62 #endif |
|
63 |
|
64 /* |
|
65 ;;; Local Variables: *** |
|
66 ;;; mode: C++ *** |
|
67 ;;; End: *** |
|
68 */ |