Mercurial > octave
annotate libinterp/corefcn/xpow.h @ 31460:0f968958d7d5
eliminate Range class functions that are no longer needed
The Range class was deprecated in Octave 7 and should now be removed
from any public interfaces but we need it (or some replacement) to
allow legacy range objects to be loaded from files created by old
versions of Octave. This change is a start at doing this job. In a
future change, we might move the Range class from Range.h to
ov-legacy-range.cc, which is the only place where it is used, and
eliminate the Range data member from the octave_legacy_range class.
* ov.h, ov.cc (octave_value::make_range_rep_deprecated):
Delete unnecessary functions.
* ov.cc: Don't include Range.h.
* xpow.h: Delete forward declaration of Range.
* Range.h, Range.cc (Range::nnz, Range::checkelem, Range::elem,
Range::index, Range::sort_internal, Range::diag, Range::sort,
Range::issorted, Range::set_base, Range::set_limit, Range::set_inc,
Range::inc, Range::final_value, Range::dims, Range::rows, Range::cols,
Range::columns, Range::isempty, Range::operator ()): Delete.
(operator << (std::ostream&, const Range&),
operator >> (std::istream&, Range&)): Delete.
(operator - (const Range&), operator + (double, const Range&),
operator + (const Range&, double), operator - (double, const Range&)
operator - (const Range&, double), operator * (double, const Range&)
operator * (const Range&, double)): Delete functions and friend decls.
* doc/liboctave/range.texi: Delete docs for Range class.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 16 Nov 2022 14:05:18 -0500 |
parents | 903fac22b29d |
children | dfa5d9c3ae72 |
rev | line source |
---|---|
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
1 //////////////////////////////////////////////////////////////////////// |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
2 // |
30564
796f54d4ddbf
update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
29989
diff
changeset
|
3 // Copyright (C) 1993-2022 The Octave Project Developers |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
4 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
5 // See the file COPYRIGHT.md in the top-level directory of this |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
6 // distribution or <https://octave.org/copyright/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
7 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
8 // This file is part of Octave. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
9 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
10 // Octave is free software: you can redistribute it and/or modify it |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
11 // under the terms of the GNU General Public License as published by |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
12 // the Free Software Foundation, either version 3 of the License, or |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
13 // (at your option) any later version. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
14 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
15 // Octave is distributed in the hope that it will be useful, but |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
16 // WITHOUT ANY WARRANTY; without even the implied warranty of |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
18 // GNU General Public License for more details. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
19 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
20 // You should have received a copy of the GNU General Public License |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
21 // along with Octave; see the file COPYING. If not, see |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
22 // <https://www.gnu.org/licenses/>. |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
23 // |
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
24 //////////////////////////////////////////////////////////////////////// |
1 | 25 |
20791
f7084eae3318
maint: Use Octave coding conventions for #if statements.
Rik <rik@octave.org>
parents:
19697
diff
changeset
|
26 #if ! defined (octave_xpow_h) |
383 | 27 #define octave_xpow_h 1 |
1 | 28 |
21244
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
29 #include "octave-config.h" |
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
20791
diff
changeset
|
30 |
1651 | 31 #include "oct-cmplx.h" |
32 | |
164 | 33 class Matrix; |
34 class ComplexMatrix; | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
35 class FloatMatrix; |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
36 class FloatComplexMatrix; |
8382
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
37 class DiagMatrix; |
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
38 class ComplexDiagMatrix; |
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
39 class FloatDiagMatrix; |
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
40 class FloatComplexDiagMatrix; |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
41 class PermMatrix; |
8382
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
42 class NDArray; |
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
43 class FloatNDArray; |
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
44 class ComplexNDArray; |
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
45 class FloatComplexNDArray; |
2086 | 46 class octave_value; |
1 | 47 |
29989
b260322f6730
move xdiv, xnorm, and xpow inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29359
diff
changeset
|
48 OCTAVE_NAMESPACE_BEGIN |
b260322f6730
move xdiv, xnorm, and xpow inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29359
diff
changeset
|
49 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
50 extern OCTINTERP_API octave_value xpow (double a, double b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
51 extern OCTINTERP_API octave_value xpow (double a, const Matrix& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
52 extern OCTINTERP_API octave_value xpow (double a, const Complex& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
53 extern OCTINTERP_API octave_value xpow (double a, const ComplexMatrix& b); |
1 | 54 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
55 extern OCTINTERP_API octave_value xpow (const Matrix& a, double b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
56 extern OCTINTERP_API octave_value xpow (const Matrix& a, const Complex& b); |
1 | 57 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
58 extern OCTINTERP_API octave_value xpow (const DiagMatrix& a, double b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
59 extern OCTINTERP_API octave_value xpow (const DiagMatrix& a, const Complex& b); |
8382
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
60 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
61 extern OCTINTERP_API octave_value xpow (const PermMatrix& a, double b); |
8958
6ccc12cc65ef
implement raising a permutation matrix to integer power
Jaroslav Hajek <highegg@gmail.com>
parents:
8920
diff
changeset
|
62 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
63 extern OCTINTERP_API octave_value xpow (const Complex& a, double b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
64 extern OCTINTERP_API octave_value xpow (const Complex& a, const Matrix& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
65 extern OCTINTERP_API octave_value xpow (const Complex& a, const Complex& b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
66 extern OCTINTERP_API octave_value xpow (const Complex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
67 const ComplexMatrix& b); |
1 | 68 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
69 extern OCTINTERP_API octave_value xpow (const ComplexMatrix& a, double b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
70 extern OCTINTERP_API octave_value xpow (const ComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
71 const Complex& b); |
1 | 72 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
73 extern OCTINTERP_API octave_value xpow (const ComplexDiagMatrix& a, double b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
74 extern OCTINTERP_API octave_value xpow (const ComplexDiagMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
75 const Complex& b); |
8382
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
76 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
77 extern OCTINTERP_API octave_value elem_xpow (double a, const Matrix& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
78 extern OCTINTERP_API octave_value elem_xpow (double a, const ComplexMatrix& b); |
30346
91c6288781ba
maint: Shorten some long lines in libinterp to <= 80 characters (bug #57599)
Rik <rik@octave.org>
parents:
29989
diff
changeset
|
79 extern OCTINTERP_API octave_value elem_xpow (double a, |
91c6288781ba
maint: Shorten some long lines in libinterp to <= 80 characters (bug #57599)
Rik <rik@octave.org>
parents:
29989
diff
changeset
|
80 const octave::range<double>& r); |
1 | 81 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
82 extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, double b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
83 extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, const Matrix& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
84 extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, const Complex& b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
85 extern OCTINTERP_API octave_value elem_xpow (const Matrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
86 const ComplexMatrix& b); |
1 | 87 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
88 extern OCTINTERP_API octave_value elem_xpow (const Complex& a, const Matrix& b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
89 extern OCTINTERP_API octave_value elem_xpow (const Complex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
90 const ComplexMatrix& b); |
30346
91c6288781ba
maint: Shorten some long lines in libinterp to <= 80 characters (bug #57599)
Rik <rik@octave.org>
parents:
29989
diff
changeset
|
91 extern OCTINTERP_API octave_value elem_xpow (const Complex& a, |
91c6288781ba
maint: Shorten some long lines in libinterp to <= 80 characters (bug #57599)
Rik <rik@octave.org>
parents:
29989
diff
changeset
|
92 const octave::range<double>& r); |
1 | 93 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
94 extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, double b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
95 extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
96 const Matrix& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
97 extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
98 const Complex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
99 extern OCTINTERP_API octave_value elem_xpow (const ComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
100 const ComplexMatrix& b); |
1 | 101 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
102 extern OCTINTERP_API octave_value elem_xpow (double a, const NDArray& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
103 extern OCTINTERP_API octave_value elem_xpow (double a, const ComplexNDArray& b); |
4543 | 104 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
105 extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, double b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
106 extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
107 const NDArray& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
108 extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
109 const Complex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
110 extern OCTINTERP_API octave_value elem_xpow (const NDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
111 const ComplexNDArray& b); |
4543 | 112 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
113 extern OCTINTERP_API octave_value elem_xpow (const Complex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
114 const NDArray& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
115 extern OCTINTERP_API octave_value elem_xpow (const Complex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
116 const ComplexNDArray& b); |
4543 | 117 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
118 extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
119 double b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
120 extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
121 const NDArray& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
122 extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
123 const Complex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
124 extern OCTINTERP_API octave_value elem_xpow (const ComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
125 const ComplexNDArray& b); |
4543 | 126 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
127 extern OCTINTERP_API octave_value xpow (float a, float b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
128 extern OCTINTERP_API octave_value xpow (float a, const FloatMatrix& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
129 extern OCTINTERP_API octave_value xpow (float a, const FloatComplex& b); |
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
130 extern OCTINTERP_API octave_value xpow (float a, const FloatComplexMatrix& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
131 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
132 extern OCTINTERP_API octave_value xpow (const FloatMatrix& a, float b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
133 extern OCTINTERP_API octave_value xpow (const FloatMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
134 const FloatComplex& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
135 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
136 extern OCTINTERP_API octave_value xpow (const FloatDiagMatrix& a, float b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
137 extern OCTINTERP_API octave_value xpow (const FloatDiagMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
138 const FloatComplex& b); |
8382
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
139 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
140 extern OCTINTERP_API octave_value xpow (const FloatComplex& a, float b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
141 extern OCTINTERP_API octave_value xpow (const FloatComplex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
142 const FloatMatrix& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
143 extern OCTINTERP_API octave_value xpow (const FloatComplex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
144 const FloatComplex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
145 extern OCTINTERP_API octave_value xpow (const FloatComplex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
146 const FloatComplexMatrix& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
147 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
148 extern OCTINTERP_API octave_value xpow (const FloatComplexMatrix& a, float b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
149 extern OCTINTERP_API octave_value xpow (const FloatComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
150 const FloatComplex& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
151 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
152 extern OCTINTERP_API octave_value xpow (const FloatComplexDiagMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
153 float b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
154 extern OCTINTERP_API octave_value xpow (const FloatComplexDiagMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
155 const FloatComplex& b); |
8382
9b20a4847056
implement scalar powers of diag matrices
Jaroslav Hajek <highegg@gmail.com>
parents:
7789
diff
changeset
|
156 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
157 extern OCTINTERP_API octave_value elem_xpow (float a, const FloatMatrix& b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
158 extern OCTINTERP_API octave_value elem_xpow (float a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
159 const FloatComplexMatrix& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
160 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
161 extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, float b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
162 extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
163 const FloatMatrix& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
164 extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
165 const FloatComplex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
166 extern OCTINTERP_API octave_value elem_xpow (const FloatMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
167 const FloatComplexMatrix& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
168 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
169 extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
170 const FloatMatrix& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
171 extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
172 const FloatComplexMatrix& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
173 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
174 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
175 float b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
176 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
177 const FloatMatrix& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
178 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
179 const FloatComplex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
180 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexMatrix& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
181 const FloatComplexMatrix& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
182 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
183 extern OCTINTERP_API octave_value elem_xpow (float a, const FloatNDArray& b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
184 extern OCTINTERP_API octave_value elem_xpow (float a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
185 const FloatComplexNDArray& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
186 |
13039
70d32160c90b
Make more symbols for export.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
11523
diff
changeset
|
187 extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, float b); |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
188 extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
189 const FloatNDArray& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
190 extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
191 const FloatComplex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
192 extern OCTINTERP_API octave_value elem_xpow (const FloatNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
193 const FloatComplexNDArray& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
194 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
195 extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
196 const FloatNDArray& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
197 extern OCTINTERP_API octave_value elem_xpow (const FloatComplex& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
198 const FloatComplexNDArray& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
199 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
200 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
201 float b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
202 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
203 const FloatNDArray& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
204 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
205 const FloatComplex& b); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
206 extern OCTINTERP_API octave_value elem_xpow (const FloatComplexNDArray& a, |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
207 const FloatComplexNDArray& b); |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
208 |
29989
b260322f6730
move xdiv, xnorm, and xpow inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29359
diff
changeset
|
209 OCTAVE_NAMESPACE_END |
b260322f6730
move xdiv, xnorm, and xpow inside octave namespace
John W. Eaton <jwe@octave.org>
parents:
29359
diff
changeset
|
210 |
1 | 211 #endif |