GNU Octave  3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
xdiv.h
Go to the documentation of this file.
1 /*
2 
3 Copyright (C) 1993-2013 John W. Eaton
4 Copyright (C) 2008 Jaroslav Hajek
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 3 of the License, or (at your
11 option) any 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, see
20 <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #if !defined (octave_xdiv_h)
25 #define octave_xdiv_h 1
26 
27 #include "mx-defs.h"
28 #include "MatrixType.h"
29 
30 extern Matrix xdiv (const Matrix& a, const Matrix& b, MatrixType &typ);
31 extern ComplexMatrix xdiv (const Matrix& a, const ComplexMatrix& b,
32  MatrixType &typ);
33 extern ComplexMatrix xdiv (const ComplexMatrix& a, const Matrix& b,
34  MatrixType &typ);
35 extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexMatrix& b,
36  MatrixType &typ);
37 
38 extern Matrix x_el_div (double a, const Matrix& b);
39 extern ComplexMatrix x_el_div (double a, const ComplexMatrix& b);
40 extern ComplexMatrix x_el_div (const Complex a, const Matrix& b);
41 extern ComplexMatrix x_el_div (const Complex a, const ComplexMatrix& b);
42 
43 extern NDArray x_el_div (double a, const NDArray& b);
44 extern ComplexNDArray x_el_div (double a, const ComplexNDArray& b);
45 extern ComplexNDArray x_el_div (const Complex a, const NDArray& b);
46 extern ComplexNDArray x_el_div (const Complex a, const ComplexNDArray& b);
47 
48 extern Matrix xleftdiv (const Matrix& a, const Matrix& b, MatrixType &typ,
50 extern ComplexMatrix xleftdiv (const Matrix& a, const ComplexMatrix& b,
51  MatrixType &typ,
53 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const Matrix& b,
54  MatrixType &typ,
56 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b,
57  MatrixType &typ,
59 
60 extern FloatMatrix xdiv (const FloatMatrix& a, const FloatMatrix& b,
61  MatrixType &typ);
62 extern FloatComplexMatrix xdiv (const FloatMatrix& a,
63  const FloatComplexMatrix& b,
64  MatrixType &typ);
66  const FloatMatrix& b,
67  MatrixType &typ);
69  const FloatComplexMatrix& b,
70  MatrixType &typ);
71 
72 extern FloatMatrix x_el_div (float a, const FloatMatrix& b);
73 extern FloatComplexMatrix x_el_div (float a, const FloatComplexMatrix& b);
74 extern FloatComplexMatrix x_el_div (const FloatComplex a, const FloatMatrix& b);
76  const FloatComplexMatrix& b);
77 
78 extern FloatNDArray x_el_div (float a, const FloatNDArray& b);
79 extern FloatComplexNDArray x_el_div (float a, const FloatComplexNDArray& b);
81  const FloatNDArray& b);
83  const FloatComplexNDArray& b);
84 
85 extern FloatMatrix xleftdiv (const FloatMatrix& a, const FloatMatrix& b,
86  MatrixType &typ,
88 extern FloatComplexMatrix xleftdiv (const FloatMatrix& a,
89  const FloatComplexMatrix& b,
90  MatrixType &typ,
93  const FloatMatrix& b,
94  MatrixType &typ,
97  const FloatComplexMatrix& b,
98  MatrixType &typ,
100 
101 
102 extern Matrix xdiv (const Matrix& a, const DiagMatrix& b);
103 extern ComplexMatrix xdiv (const ComplexMatrix& a, const DiagMatrix& b);
104 extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexDiagMatrix& b);
105 
106 extern DiagMatrix xdiv (const DiagMatrix& a, const DiagMatrix& b);
107 extern ComplexDiagMatrix xdiv (const ComplexDiagMatrix& a, const DiagMatrix& b);
108 extern ComplexDiagMatrix xdiv (const ComplexDiagMatrix& a,
109  const ComplexDiagMatrix& b);
110 
111 extern FloatMatrix xdiv (const FloatMatrix& a, const FloatDiagMatrix& b);
113  const FloatDiagMatrix& b);
114 extern FloatComplexMatrix xdiv (const FloatMatrix& a,
115  const FloatComplexDiagMatrix& b);
117  const FloatComplexDiagMatrix& b);
118 
119 extern FloatDiagMatrix xdiv (const FloatDiagMatrix& a,
120  const FloatDiagMatrix& b);
122  const FloatDiagMatrix& b);
124  const FloatComplexDiagMatrix& b);
125 
126 extern Matrix xleftdiv (const DiagMatrix& a, const Matrix& b);
127 extern ComplexMatrix xleftdiv (const DiagMatrix& a, const ComplexMatrix& b);
128 extern ComplexMatrix xleftdiv (const ComplexDiagMatrix& a,
129  const ComplexMatrix& b);
130 
131 extern DiagMatrix xleftdiv (const DiagMatrix& a, const DiagMatrix& b);
132 extern ComplexDiagMatrix xleftdiv (const DiagMatrix& a,
133  const ComplexDiagMatrix& b);
135  const ComplexDiagMatrix& b);
136 
137 extern FloatMatrix xleftdiv (const FloatDiagMatrix& a,
138  const FloatMatrix& b);
140  const FloatComplexMatrix& b);
142  const FloatComplexMatrix& b);
143 
144 extern FloatDiagMatrix xleftdiv (const FloatDiagMatrix& a,
145  const FloatDiagMatrix& b);
147  const FloatComplexDiagMatrix& b);
149  const FloatComplexDiagMatrix& b);
150 
151 #endif