GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
libinterp
corefcn
xpow.h
Go to the documentation of this file.
1
/*
2
3
Copyright (C) 1993-2015 John W. Eaton
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
9
Free Software Foundation; either version 3 of the License, or (at your
10
option) any later version.
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
18
along with Octave; see the file COPYING. If not, see
19
<http://www.gnu.org/licenses/>.
20
21
*/
22
23
#if !defined (octave_xpow_h)
24
#define octave_xpow_h 1
25
26
#include "
oct-cmplx.h
"
27
28
class
Matrix
;
29
class
ComplexMatrix
;
30
class
FloatMatrix
;
31
class
FloatComplexMatrix
;
32
class
DiagMatrix
;
33
class
ComplexDiagMatrix
;
34
class
FloatDiagMatrix
;
35
class
FloatComplexDiagMatrix
;
36
class
PermMatrix
;
37
class
NDArray
;
38
class
FloatNDArray
;
39
class
ComplexNDArray
;
40
class
FloatComplexNDArray
;
41
class
octave_value
;
42
class
Range
;
43
44
extern
OCTINTERP_API
octave_value
xpow
(
double
a,
double
b);
45
extern
OCTINTERP_API
octave_value
xpow
(
double
a,
const
Matrix
& b);
46
extern
OCTINTERP_API
octave_value
xpow
(
double
a,
const
Complex
& b);
47
extern
OCTINTERP_API
octave_value
xpow
(
double
a,
const
ComplexMatrix
& b);
48
49
extern
OCTINTERP_API
octave_value
xpow
(
const
Matrix
& a,
double
b);
50
extern
OCTINTERP_API
octave_value
xpow
(
const
Matrix
& a,
const
Complex
& b);
51
52
extern
OCTINTERP_API
octave_value
xpow
(
const
DiagMatrix
& a,
double
b);
53
extern
OCTINTERP_API
octave_value
xpow
(
const
DiagMatrix
& a,
const
Complex
& b);
54
55
extern
OCTINTERP_API
octave_value
xpow
(
const
PermMatrix
& a,
double
b);
56
57
extern
OCTINTERP_API
octave_value
xpow
(
const
Complex
& a,
double
b);
58
extern
OCTINTERP_API
octave_value
xpow
(
const
Complex
& a,
const
Matrix
& b);
59
extern
OCTINTERP_API
octave_value
xpow
(
const
Complex
& a,
const
Complex
& b);
60
extern
OCTINTERP_API
octave_value
xpow
(
const
Complex
& a,
61
const
ComplexMatrix
& b);
62
63
extern
OCTINTERP_API
octave_value
xpow
(
const
ComplexMatrix
& a,
double
b);
64
extern
OCTINTERP_API
octave_value
xpow
(
const
ComplexMatrix
& a,
65
const
Complex
& b);
66
67
extern
OCTINTERP_API
octave_value
xpow
(
const
ComplexDiagMatrix
& a,
double
b);
68
extern
OCTINTERP_API
octave_value
xpow
(
const
ComplexDiagMatrix
& a,
69
const
Complex
& b);
70
71
extern
OCTINTERP_API
octave_value
elem_xpow
(
double
a,
const
Matrix
& b);
72
extern
OCTINTERP_API
octave_value
elem_xpow
(
double
a,
const
ComplexMatrix
& b);
73
extern
OCTINTERP_API
octave_value
elem_xpow
(
double
a,
const
Range
& r);
74
75
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Matrix
& a,
double
b);
76
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Matrix
& a,
const
Matrix
& b);
77
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Matrix
& a,
const
Complex
& b);
78
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Matrix
& a,
79
const
ComplexMatrix
& b);
80
81
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Complex
& a,
const
Matrix
& b);
82
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Complex
& a,
83
const
ComplexMatrix
& b);
84
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Complex
& a,
const
Range
& r);
85
86
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexMatrix
& a,
double
b);
87
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexMatrix
& a,
88
const
Matrix
& b);
89
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexMatrix
& a,
90
const
Complex
& b);
91
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexMatrix
& a,
92
const
ComplexMatrix
& b);
93
94
95
extern
OCTINTERP_API
octave_value
elem_xpow
(
double
a,
const
NDArray
& b);
96
extern
OCTINTERP_API
octave_value
elem_xpow
(
double
a,
const
ComplexNDArray
& b);
97
98
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
NDArray
& a,
double
b);
99
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
NDArray
& a,
100
const
NDArray
& b);
101
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
NDArray
& a,
102
const
Complex
& b);
103
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
NDArray
& a,
104
const
ComplexNDArray
& b);
105
106
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Complex
& a,
107
const
NDArray
& b);
108
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
Complex
& a,
109
const
ComplexNDArray
& b);
110
111
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexNDArray
& a,
112
double
b);
113
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexNDArray
& a,
114
const
NDArray
& b);
115
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexNDArray
& a,
116
const
Complex
& b);
117
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
ComplexNDArray
& a,
118
const
ComplexNDArray
& b);
119
120
extern
OCTINTERP_API
octave_value
xpow
(
float
a,
float
b);
121
extern
OCTINTERP_API
octave_value
xpow
(
float
a,
const
FloatMatrix
& b);
122
extern
OCTINTERP_API
octave_value
xpow
(
float
a,
const
FloatComplex
& b);
123
extern
OCTINTERP_API
octave_value
xpow
(
float
a,
const
FloatComplexMatrix
& b);
124
125
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatMatrix
& a,
float
b);
126
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatMatrix
& a,
127
const
FloatComplex
& b);
128
129
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatDiagMatrix
& a,
float
b);
130
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatDiagMatrix
& a,
131
const
FloatComplex
& b);
132
133
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplex
& a,
float
b);
134
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplex
& a,
135
const
FloatMatrix
& b);
136
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplex
& a,
137
const
FloatComplex
& b);
138
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplex
& a,
139
const
FloatComplexMatrix
& b);
140
141
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplexMatrix
& a,
float
b);
142
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplexMatrix
& a,
143
const
FloatComplex
& b);
144
145
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplexDiagMatrix
& a,
146
float
b);
147
extern
OCTINTERP_API
octave_value
xpow
(
const
FloatComplexDiagMatrix
& a,
148
const
FloatComplex
& b);
149
150
extern
OCTINTERP_API
octave_value
elem_xpow
(
float
a,
const
FloatMatrix
& b);
151
extern
OCTINTERP_API
octave_value
elem_xpow
(
float
a,
152
const
FloatComplexMatrix
& b);
153
154
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatMatrix
& a,
float
b);
155
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatMatrix
& a,
156
const
FloatMatrix
& b);
157
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatMatrix
& a,
158
const
FloatComplex
& b);
159
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatMatrix
& a,
160
const
FloatComplexMatrix
& b);
161
162
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplex
& a,
163
const
FloatMatrix
& b);
164
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplex
& a,
165
const
FloatComplexMatrix
& b);
166
167
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexMatrix
& a,
168
float
b);
169
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexMatrix
& a,
170
const
FloatMatrix
& b);
171
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexMatrix
& a,
172
const
FloatComplex
& b);
173
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexMatrix
& a,
174
const
FloatComplexMatrix
& b);
175
176
177
extern
OCTINTERP_API
octave_value
elem_xpow
(
float
a,
const
FloatNDArray
& b);
178
extern
OCTINTERP_API
octave_value
elem_xpow
(
float
a,
179
const
FloatComplexNDArray
& b);
180
181
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatNDArray
& a,
float
b);
182
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatNDArray
& a,
183
const
FloatNDArray
& b);
184
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatNDArray
& a,
185
const
FloatComplex
& b);
186
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatNDArray
& a,
187
const
FloatComplexNDArray
& b);
188
189
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplex
& a,
190
const
FloatNDArray
& b);
191
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplex
& a,
192
const
FloatComplexNDArray
& b);
193
194
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexNDArray
& a,
195
float
b);
196
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexNDArray
& a,
197
const
FloatNDArray
& b);
198
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexNDArray
& a,
199
const
FloatComplex
& b);
200
extern
OCTINTERP_API
octave_value
elem_xpow
(
const
FloatComplexNDArray
& a,
201
const
FloatComplexNDArray
& b);
202
203
#endif
oct-cmplx.h
octave_value
Definition:
ov.h:68
PermMatrix
Definition:
PermMatrix.h:32
ComplexNDArray
Definition:
CNDArray.h:32
FloatDiagMatrix
Definition:
fDiagMatrix.h:34
FloatComplexDiagMatrix
Definition:
fCDiagMatrix.h:36
Range
Definition:
Range.h:31
xpow
OCTINTERP_API octave_value xpow(double a, double b)
Definition:
xpow.cc:80
ComplexMatrix
Definition:
CMatrix.h:36
OCTINTERP_API
#define OCTINTERP_API
Definition:
mexproto.h:66
FloatMatrix
Definition:
fMatrix.h:35
DiagMatrix
Definition:
dDiagMatrix.h:34
FloatNDArray
Definition:
fNDArray.h:33
Matrix
Definition:
dMatrix.h:35
FloatComplexMatrix
Definition:
fCMatrix.h:36
ComplexDiagMatrix
Definition:
CDiagMatrix.h:36
FloatComplexNDArray
Definition:
fCNDArray.h:32
NDArray
Definition:
dNDArray.h:33
FloatComplex
std::complex< float > FloatComplex
Definition:
oct-cmplx.h:30
elem_xpow
OCTINTERP_API octave_value elem_xpow(double a, const Matrix &b)
Definition:
xpow.cc:635
Complex
std::complex< double > Complex
Definition:
oct-cmplx.h:29
Generated on Thu Jun 4 2015 23:30:16 for GNU Octave by
1.8.8