1
|
1 // xdiv.h -*- C++ -*- |
|
2 /* |
|
3 |
|
4 Copyright (C) 1992, 1993 John W. Eaton |
|
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 |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 later version. |
|
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 |
|
19 along with Octave; see the file COPYING. If not, write to the Free |
|
20 Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. |
|
21 |
|
22 */ |
|
23 |
|
24 #if !defined (_xdiv_h) |
|
25 #define _xdiv_h 1 |
|
26 |
|
27 #ifdef __GNUG__ |
|
28 #pragma interface |
|
29 #endif |
|
30 |
|
31 #include <Complex.h> |
|
32 |
|
33 #include "Matrix.h" |
|
34 |
|
35 #include "tree-const.h" |
|
36 |
|
37 extern tree_constant xdiv (Matrix& a, Matrix& b); |
|
38 extern tree_constant xdiv (Matrix& a, ComplexMatrix& b); |
|
39 extern tree_constant xdiv (ComplexMatrix& a, Matrix& b); |
|
40 extern tree_constant xdiv (ComplexMatrix& a, ComplexMatrix& b); |
|
41 |
|
42 extern tree_constant x_el_div (double a, Matrix& b); |
|
43 extern tree_constant x_el_div (double a, ComplexMatrix& b); |
|
44 extern tree_constant x_el_div (Complex a, Matrix& b); |
|
45 extern tree_constant x_el_div (Complex a, ComplexMatrix& b); |
|
46 |
|
47 extern tree_constant xleftdiv (Matrix& a, Matrix& b); |
|
48 extern tree_constant xleftdiv (Matrix& a, ComplexMatrix& b); |
|
49 extern tree_constant xleftdiv (ComplexMatrix& a, Matrix& b); |
|
50 extern tree_constant xleftdiv (ComplexMatrix& a, ComplexMatrix& b); |
|
51 |
|
52 #endif |
|
53 |
|
54 /* |
|
55 ;;; Local Variables: *** |
|
56 ;;; mode: C++ *** |
|
57 ;;; page-delimiter: "^/\\*" *** |
|
58 ;;; End: *** |
|
59 */ |