1
|
1 /* |
|
2 |
2847
|
3 Copyright (C) 1996, 1997 John W. Eaton |
1
|
4 |
|
5 This file is part of Octave. |
|
6 |
|
7 Octave is free software; you can redistribute it and/or modify it |
|
8 under the terms of the GNU General Public License as published by the |
7016
|
9 Free Software Foundation; either version 3 of the License, or (at your |
|
10 option) any later version. |
1
|
11 |
|
12 Octave is distributed in the hope that it will be useful, but WITHOUT |
|
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
15 for more details. |
|
16 |
|
17 You should have received a copy of the GNU General Public License |
7016
|
18 along with Octave; see the file COPYING. If not, see |
|
19 <http://www.gnu.org/licenses/>. |
1
|
20 |
|
21 */ |
|
22 |
383
|
23 #if !defined (octave_xdiv_h) |
|
24 #define octave_xdiv_h 1 |
1
|
25 |
1651
|
26 #include "oct-cmplx.h" |
5785
|
27 #include "MatrixType.h" |
1651
|
28 |
164
|
29 class Matrix; |
|
30 class ComplexMatrix; |
1
|
31 |
4543
|
32 class NDArray; |
|
33 class ComplexNDArray; |
|
34 |
5785
|
35 extern Matrix xdiv (const Matrix& a, const Matrix& b, MatrixType &typ); |
|
36 extern ComplexMatrix xdiv (const Matrix& a, const ComplexMatrix& b, |
|
37 MatrixType &typ); |
|
38 extern ComplexMatrix xdiv (const ComplexMatrix& a, const Matrix& b, |
|
39 MatrixType &typ); |
|
40 extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexMatrix& b, |
|
41 MatrixType &typ); |
1
|
42 |
1800
|
43 extern Matrix x_el_div (double a, const Matrix& b); |
|
44 extern ComplexMatrix x_el_div (double a, const ComplexMatrix& b); |
|
45 extern ComplexMatrix x_el_div (const Complex a, const Matrix& b); |
|
46 extern ComplexMatrix x_el_div (const Complex a, const ComplexMatrix& b); |
1
|
47 |
4543
|
48 extern NDArray x_el_div (double a, const NDArray& b); |
|
49 extern ComplexNDArray x_el_div (double a, const ComplexNDArray& b); |
|
50 extern ComplexNDArray x_el_div (const Complex a, const NDArray& b); |
|
51 extern ComplexNDArray x_el_div (const Complex a, const ComplexNDArray& b); |
|
52 |
5785
|
53 extern Matrix xleftdiv (const Matrix& a, const Matrix& b, MatrixType &typ); |
|
54 extern ComplexMatrix xleftdiv (const Matrix& a, const ComplexMatrix& b, |
|
55 MatrixType &typ); |
|
56 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const Matrix& b, |
|
57 MatrixType &typ); |
|
58 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b, |
|
59 MatrixType &typ); |
1
|
60 |
|
61 #endif |
|
62 |
|
63 /* |
|
64 ;;; Local Variables: *** |
|
65 ;;; mode: C++ *** |
|
66 ;;; End: *** |
|
67 */ |