GNU Octave
4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
xdiv.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 1993-2018 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
10
the Free Software Foundation, either version 3 of the License, or
11
(at your option) any later version.
12
13
Octave is distributed in the hope that it will be useful, but
14
WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License 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
<https://www.gnu.org/licenses/>.
21
22
*/
23
24
#if ! defined (octave_xdiv_h)
25
#define octave_xdiv_h 1
26
27
#include "octave-config.h"
28
29
#include "
mx-defs.h
"
30
#include "
MatrixType.h
"
31
32
extern
Matrix
xdiv
(
const
Matrix
&
a
,
const
Matrix
&
b
,
MatrixType
& typ);
33
extern
ComplexMatrix
xdiv
(
const
Matrix
&
a
,
const
ComplexMatrix
&
b
,
34
MatrixType
& typ);
35
extern
ComplexMatrix
xdiv
(
const
ComplexMatrix
&
a
,
const
Matrix
&
b
,
36
MatrixType
& typ);
37
extern
ComplexMatrix
xdiv
(
const
ComplexMatrix
&
a
,
const
ComplexMatrix
&
b
,
38
MatrixType
& typ);
39
40
extern
Matrix
x_el_div
(
double
a
,
const
Matrix
&
b
);
41
extern
ComplexMatrix
x_el_div
(
double
a
,
const
ComplexMatrix
&
b
);
42
extern
ComplexMatrix
x_el_div
(
const
Complex
a
,
const
Matrix
&
b
);
43
extern
ComplexMatrix
x_el_div
(
const
Complex
a
,
const
ComplexMatrix
&
b
);
44
45
extern
NDArray
x_el_div
(
double
a
,
const
NDArray
&
b
);
46
extern
ComplexNDArray
x_el_div
(
double
a
,
const
ComplexNDArray
&
b
);
47
extern
ComplexNDArray
x_el_div
(
const
Complex
a
,
const
NDArray
&
b
);
48
extern
ComplexNDArray
x_el_div
(
const
Complex
a
,
const
ComplexNDArray
&
b
);
49
50
extern
Matrix
xleftdiv
(
const
Matrix
&
a
,
const
Matrix
&
b
,
MatrixType
& typ,
51
blas_trans_type
transt =
blas_no_trans
);
52
extern
ComplexMatrix
xleftdiv
(
const
Matrix
&
a
,
const
ComplexMatrix
&
b
,
53
MatrixType
& typ,
54
blas_trans_type
transt =
blas_no_trans
);
55
extern
ComplexMatrix
xleftdiv
(
const
ComplexMatrix
&
a
,
const
Matrix
&
b
,
56
MatrixType
& typ,
57
blas_trans_type
transt =
blas_no_trans
);
58
extern
ComplexMatrix
xleftdiv
(
const
ComplexMatrix
&
a
,
const
ComplexMatrix
&
b
,
59
MatrixType
& typ,
60
blas_trans_type
transt =
blas_no_trans
);
61
62
extern
FloatMatrix
xdiv
(
const
FloatMatrix
&
a
,
const
FloatMatrix
&
b
,
63
MatrixType
& typ);
64
extern
FloatComplexMatrix
xdiv
(
const
FloatMatrix
&
a
,
65
const
FloatComplexMatrix
&
b
,
66
MatrixType
& typ);
67
extern
FloatComplexMatrix
xdiv
(
const
FloatComplexMatrix
&
a
,
68
const
FloatMatrix
&
b
,
69
MatrixType
& typ);
70
extern
FloatComplexMatrix
xdiv
(
const
FloatComplexMatrix
&
a
,
71
const
FloatComplexMatrix
&
b
,
72
MatrixType
& typ);
73
74
extern
FloatMatrix
x_el_div
(
float
a
,
const
FloatMatrix
&
b
);
75
extern
FloatComplexMatrix
x_el_div
(
float
a
,
const
FloatComplexMatrix
&
b
);
76
extern
FloatComplexMatrix
x_el_div
(
const
FloatComplex
a
,
const
FloatMatrix
&
b
);
77
extern
FloatComplexMatrix
x_el_div
(
const
FloatComplex
a
,
78
const
FloatComplexMatrix
&
b
);
79
80
extern
FloatNDArray
x_el_div
(
float
a
,
const
FloatNDArray
&
b
);
81
extern
FloatComplexNDArray
x_el_div
(
float
a
,
const
FloatComplexNDArray
&
b
);
82
extern
FloatComplexNDArray
x_el_div
(
const
FloatComplex
a
,
83
const
FloatNDArray
&
b
);
84
extern
FloatComplexNDArray
x_el_div
(
const
FloatComplex
a
,
85
const
FloatComplexNDArray
&
b
);
86
87
extern
FloatMatrix
xleftdiv
(
const
FloatMatrix
&
a
,
const
FloatMatrix
&
b
,
88
MatrixType
& typ,
89
blas_trans_type
transt =
blas_no_trans
);
90
extern
FloatComplexMatrix
xleftdiv
(
const
FloatMatrix
&
a
,
91
const
FloatComplexMatrix
&
b
,
92
MatrixType
& typ,
93
blas_trans_type
transt =
blas_no_trans
);
94
extern
FloatComplexMatrix
xleftdiv
(
const
FloatComplexMatrix
&
a
,
95
const
FloatMatrix
&
b
,
96
MatrixType
& typ,
97
blas_trans_type
transt =
blas_no_trans
);
98
extern
FloatComplexMatrix
xleftdiv
(
const
FloatComplexMatrix
&
a
,
99
const
FloatComplexMatrix
&
b
,
100
MatrixType
& typ,
101
blas_trans_type
transt =
blas_no_trans
);
102
103
extern
Matrix
xdiv
(
const
Matrix
&
a
,
const
DiagMatrix
&
b
);
104
extern
ComplexMatrix
xdiv
(
const
ComplexMatrix
&
a
,
const
DiagMatrix
&
b
);
105
extern
ComplexMatrix
xdiv
(
const
ComplexMatrix
&
a
,
const
ComplexDiagMatrix
&
b
);
106
107
extern
DiagMatrix
xdiv
(
const
DiagMatrix
&
a
,
const
DiagMatrix
&
b
);
108
extern
ComplexDiagMatrix
xdiv
(
const
ComplexDiagMatrix
&
a
,
const
DiagMatrix
&
b
);
109
extern
ComplexDiagMatrix
xdiv
(
const
ComplexDiagMatrix
&
a
,
110
const
ComplexDiagMatrix
&
b
);
111
112
extern
FloatMatrix
xdiv
(
const
FloatMatrix
&
a
,
const
FloatDiagMatrix
&
b
);
113
extern
FloatComplexMatrix
xdiv
(
const
FloatComplexMatrix
&
a
,
114
const
FloatDiagMatrix
&
b
);
115
extern
FloatComplexMatrix
xdiv
(
const
FloatMatrix
&
a
,
116
const
FloatComplexDiagMatrix
&
b
);
117
extern
FloatComplexMatrix
xdiv
(
const
FloatComplexMatrix
&
a
,
118
const
FloatComplexDiagMatrix
&
b
);
119
120
extern
FloatDiagMatrix
xdiv
(
const
FloatDiagMatrix
&
a
,
121
const
FloatDiagMatrix
&
b
);
122
extern
FloatComplexDiagMatrix
xdiv
(
const
FloatComplexDiagMatrix
&
a
,
123
const
FloatDiagMatrix
&
b
);
124
extern
FloatComplexDiagMatrix
xdiv
(
const
FloatComplexDiagMatrix
&
a
,
125
const
FloatComplexDiagMatrix
&
b
);
126
127
extern
Matrix
xleftdiv
(
const
DiagMatrix
&
a
,
const
Matrix
&
b
);
128
extern
ComplexMatrix
xleftdiv
(
const
DiagMatrix
&
a
,
const
ComplexMatrix
&
b
);
129
extern
ComplexMatrix
xleftdiv
(
const
ComplexDiagMatrix
&
a
,
130
const
ComplexMatrix
&
b
);
131
132
extern
DiagMatrix
xleftdiv
(
const
DiagMatrix
&
a
,
const
DiagMatrix
&
b
);
133
extern
ComplexDiagMatrix
xleftdiv
(
const
DiagMatrix
&
a
,
134
const
ComplexDiagMatrix
&
b
);
135
extern
ComplexDiagMatrix
xleftdiv
(
const
ComplexDiagMatrix
&
a
,
136
const
ComplexDiagMatrix
&
b
);
137
138
extern
FloatMatrix
xleftdiv
(
const
FloatDiagMatrix
&
a
,
139
const
FloatMatrix
&
b
);
140
extern
FloatComplexMatrix
xleftdiv
(
const
FloatDiagMatrix
&
a
,
141
const
FloatComplexMatrix
&
b
);
142
extern
FloatComplexMatrix
xleftdiv
(
const
FloatComplexDiagMatrix
&
a
,
143
const
FloatComplexMatrix
&
b
);
144
145
extern
FloatDiagMatrix
xleftdiv
(
const
FloatDiagMatrix
&
a
,
146
const
FloatDiagMatrix
&
b
);
147
extern
FloatComplexDiagMatrix
xleftdiv
(
const
FloatDiagMatrix
&
a
,
148
const
FloatComplexDiagMatrix
&
b
);
149
extern
FloatComplexDiagMatrix
xleftdiv
(
const
FloatComplexDiagMatrix
&
a
,
150
const
FloatComplexDiagMatrix
&
b
);
151
152
#endif
MatrixType
Definition:
MatrixType.h:38
ComplexNDArray
Definition:
CNDArray.h:33
FloatDiagMatrix
Definition:
fDiagMatrix.h:34
FloatComplexDiagMatrix
Definition:
fCDiagMatrix.h:36
xleftdiv
Matrix xleftdiv(const Matrix &a, const Matrix &b, MatrixType &typ, blas_trans_type transt=blas_no_trans)
Definition:
xdiv.cc:344
mx-defs.h
a
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
Definition:
cellfun.cc:400
ComplexMatrix
Definition:
CMatrix.h:37
FloatMatrix
Definition:
fMatrix.h:36
DiagMatrix
Definition:
dDiagMatrix.h:34
MatrixType.h
x_el_div
Matrix x_el_div(double a, const Matrix &b)
Definition:
xdiv.cc:197
FloatNDArray
Definition:
fNDArray.h:35
Matrix
Definition:
dMatrix.h:36
FloatComplexMatrix
Definition:
fCMatrix.h:37
ComplexDiagMatrix
Definition:
CDiagMatrix.h:36
b
b
Definition:
cellfun.cc:400
FloatComplexNDArray
Definition:
fCNDArray.h:33
NDArray
Definition:
dNDArray.h:35
FloatComplex
std::complex< float > FloatComplex
Definition:
oct-cmplx.h:32
blas_trans_type
blas_trans_type
Definition:
mx-defs.h:105
Complex
std::complex< double > Complex
Definition:
oct-cmplx.h:31
blas_no_trans
Definition:
mx-defs.h:107
xdiv
Matrix xdiv(const Matrix &a, const Matrix &b, MatrixType &typ)
Definition:
xdiv.cc:121
libinterp
corefcn
xdiv.h
Generated on Sat Sep 1 2018 14:01:40 for GNU Octave by
1.8.14