Mercurial > octave-nkf
annotate src/xdiv.h @ 7961:a5d1e27ee1f4 ss-3-1-51
3.1.51 snapshot
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 22 Jul 2008 11:40:48 -0400 |
parents | 82be108cc558 |
children | 8b1a2555c4e2 |
rev | line source |
---|---|
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 |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
62 class FloatMatrix; |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
63 class FloatComplexMatrix; |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
64 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
65 class FloatNDArray; |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
66 class FloatComplexNDArray; |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
67 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
68 extern FloatMatrix xdiv (const FloatMatrix& a, const FloatMatrix& b, MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
69 extern FloatComplexMatrix xdiv (const FloatMatrix& a, const FloatComplexMatrix& b, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
70 MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
71 extern FloatComplexMatrix xdiv (const FloatComplexMatrix& a, const FloatMatrix& b, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
72 MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
73 extern FloatComplexMatrix xdiv (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
74 MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
75 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
76 extern FloatMatrix x_el_div (float a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
77 extern FloatComplexMatrix x_el_div (float a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
78 extern FloatComplexMatrix x_el_div (const FloatComplex a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
79 extern FloatComplexMatrix x_el_div (const FloatComplex a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
80 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
81 extern FloatNDArray x_el_div (float a, const FloatNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
82 extern FloatComplexNDArray x_el_div (float a, const FloatComplexNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
83 extern FloatComplexNDArray x_el_div (const FloatComplex a, const FloatNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
84 extern FloatComplexNDArray x_el_div (const FloatComplex a, const FloatComplexNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
85 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
86 extern FloatMatrix xleftdiv (const FloatMatrix& a, const FloatMatrix& b, MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
87 extern FloatComplexMatrix xleftdiv (const FloatMatrix& a, const FloatComplexMatrix& b, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
88 MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
89 extern FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatMatrix& b, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
90 MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
91 extern FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatComplexMatrix& b, |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
92 MatrixType &typ); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
93 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
94 |
1 | 95 #endif |
96 | |
97 /* | |
98 ;;; Local Variables: *** | |
99 ;;; mode: C++ *** | |
100 ;;; End: *** | |
101 */ |