Mercurial > hg > octave-nkf
annotate src/xpow.h @ 7948:af10baa63915 ss-3-1-50
3.1.50 snapshot
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Jul 2008 17:42:48 -0400 |
parents | 82be108cc558 |
children | 9b20a4847056 |
rev | line source |
---|---|
1 | 1 /* |
2 | |
7017 | 3 Copyright (C) 1993, 1994, 1995, 1996, 1997, 2002, 2003, 2005, 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_xpow_h) |
25 #define octave_xpow_h 1 | |
1 | 26 |
1651 | 27 #include "oct-cmplx.h" |
28 | |
164 | 29 class Matrix; |
30 class ComplexMatrix; | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
31 class FloatMatrix; |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
32 class FloatComplexMatrix; |
2086 | 33 class octave_value; |
1 | 34 |
2086 | 35 extern octave_value xpow (double a, double b); |
36 extern octave_value xpow (double a, const Matrix& b); | |
37 extern octave_value xpow (double a, const Complex& b); | |
38 extern octave_value xpow (double a, const ComplexMatrix& b); | |
1 | 39 |
2086 | 40 extern octave_value xpow (const Matrix& a, double b); |
41 extern octave_value xpow (const Matrix& a, const Complex& b); | |
1 | 42 |
2086 | 43 extern octave_value xpow (const Complex& a, double b); |
44 extern octave_value xpow (const Complex& a, const Matrix& b); | |
45 extern octave_value xpow (const Complex& a, const Complex& b); | |
46 extern octave_value xpow (const Complex& a, const ComplexMatrix& b); | |
1 | 47 |
2086 | 48 extern octave_value xpow (const ComplexMatrix& a, double b); |
49 extern octave_value xpow (const ComplexMatrix& a, const Complex& b); | |
1 | 50 |
2086 | 51 extern octave_value elem_xpow (double a, const Matrix& b); |
52 extern octave_value elem_xpow (double a, const ComplexMatrix& b); | |
1 | 53 |
2086 | 54 extern octave_value elem_xpow (const Matrix& a, double b); |
55 extern octave_value elem_xpow (const Matrix& a, const Matrix& b); | |
56 extern octave_value elem_xpow (const Matrix& a, const Complex& b); | |
57 extern octave_value elem_xpow (const Matrix& a, const ComplexMatrix& b); | |
1 | 58 |
2086 | 59 extern octave_value elem_xpow (const Complex& a, const Matrix& b); |
60 extern octave_value elem_xpow (const Complex& a, const ComplexMatrix& b); | |
1 | 61 |
2086 | 62 extern octave_value elem_xpow (const ComplexMatrix& a, double b); |
63 extern octave_value elem_xpow (const ComplexMatrix& a, const Matrix& b); | |
64 extern octave_value elem_xpow (const ComplexMatrix& a, const Complex& b); | |
4188 | 65 extern octave_value elem_xpow (const ComplexMatrix& a, const ComplexMatrix& b); |
1 | 66 |
4543 | 67 |
68 extern octave_value elem_xpow (double a, const NDArray& b); | |
69 extern octave_value elem_xpow (double a, const ComplexNDArray& b); | |
70 | |
71 extern octave_value elem_xpow (const NDArray& a, double b); | |
72 extern octave_value elem_xpow (const NDArray& a, const NDArray& b); | |
73 extern octave_value elem_xpow (const NDArray& a, const Complex& b); | |
74 extern octave_value elem_xpow (const NDArray& a, const ComplexNDArray& b); | |
75 | |
76 extern octave_value elem_xpow (const Complex& a, const NDArray& b); | |
77 extern octave_value elem_xpow (const Complex& a, const ComplexNDArray& b); | |
78 | |
79 extern octave_value elem_xpow (const ComplexNDArray& a, double b); | |
80 extern octave_value elem_xpow (const ComplexNDArray& a, const NDArray& b); | |
81 extern octave_value elem_xpow (const ComplexNDArray& a, const Complex& b); | |
82 extern octave_value elem_xpow (const ComplexNDArray& a, const ComplexNDArray& b); | |
83 | |
7789
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
84 extern octave_value xpow (float a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
85 extern octave_value xpow (float a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
86 extern octave_value xpow (float a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
87 extern octave_value xpow (float a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
88 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
89 extern octave_value xpow (const FloatMatrix& a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
90 extern octave_value xpow (const FloatMatrix& a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
91 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
92 extern octave_value xpow (const FloatComplex& a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
93 extern octave_value xpow (const FloatComplex& a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
94 extern octave_value xpow (const FloatComplex& a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
95 extern octave_value xpow (const FloatComplex& a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
96 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
97 extern octave_value xpow (const FloatComplexMatrix& a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
98 extern octave_value xpow (const FloatComplexMatrix& a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
99 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
100 extern octave_value elem_xpow (float a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
101 extern octave_value elem_xpow (float a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
102 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
103 extern octave_value elem_xpow (const FloatMatrix& a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
104 extern octave_value elem_xpow (const FloatMatrix& a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
105 extern octave_value elem_xpow (const FloatMatrix& a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
106 extern octave_value elem_xpow (const FloatMatrix& a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
107 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
108 extern octave_value elem_xpow (const FloatComplex& a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
109 extern octave_value elem_xpow (const FloatComplex& a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
110 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
111 extern octave_value elem_xpow (const FloatComplexMatrix& a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
112 extern octave_value elem_xpow (const FloatComplexMatrix& a, const FloatMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
113 extern octave_value elem_xpow (const FloatComplexMatrix& a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
114 extern octave_value elem_xpow (const FloatComplexMatrix& a, const FloatComplexMatrix& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
115 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
116 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
117 extern octave_value elem_xpow (float a, const FloatNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
118 extern octave_value elem_xpow (float a, const FloatComplexNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
119 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
120 extern octave_value elem_xpow (const FloatNDArray& a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
121 extern octave_value elem_xpow (const FloatNDArray& a, const FloatNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
122 extern octave_value elem_xpow (const FloatNDArray& a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
123 extern octave_value elem_xpow (const FloatNDArray& a, const FloatComplexNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
124 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
125 extern octave_value elem_xpow (const FloatComplex& a, const FloatNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
126 extern octave_value elem_xpow (const FloatComplex& a, const FloatComplexNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
127 |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
128 extern octave_value elem_xpow (const FloatComplexNDArray& a, float b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
129 extern octave_value elem_xpow (const FloatComplexNDArray& a, const FloatNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
130 extern octave_value elem_xpow (const FloatComplexNDArray& a, const FloatComplex& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
131 extern octave_value elem_xpow (const FloatComplexNDArray& a, const FloatComplexNDArray& b); |
82be108cc558
First attempt at single precision tyeps
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
132 |
1 | 133 #endif |
134 | |
135 /* | |
136 ;;; Local Variables: *** | |
137 ;;; mode: C++ *** | |
138 ;;; End: *** | |
139 */ |