Mercurial > hg > octave-lyh
comparison src/xpow.h @ 8958:6ccc12cc65ef
implement raising a permutation matrix to integer power
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 11 Mar 2009 14:07:24 +0100 |
parents | eb63fbe60fab |
children | 93f18f166aba |
comparison
equal
deleted
inserted
replaced
8957:360aa52b5942 | 8958:6ccc12cc65ef |
---|---|
32 class FloatComplexMatrix; | 32 class FloatComplexMatrix; |
33 class DiagMatrix; | 33 class DiagMatrix; |
34 class ComplexDiagMatrix; | 34 class ComplexDiagMatrix; |
35 class FloatDiagMatrix; | 35 class FloatDiagMatrix; |
36 class FloatComplexDiagMatrix; | 36 class FloatComplexDiagMatrix; |
37 class PermMatrix; | |
37 class NDArray; | 38 class NDArray; |
38 class FloatNDArray; | 39 class FloatNDArray; |
39 class ComplexNDArray; | 40 class ComplexNDArray; |
40 class FloatComplexNDArray; | 41 class FloatComplexNDArray; |
41 class octave_value; | 42 class octave_value; |
48 extern octave_value xpow (const Matrix& a, double b); | 49 extern octave_value xpow (const Matrix& a, double b); |
49 extern octave_value xpow (const Matrix& a, const Complex& b); | 50 extern octave_value xpow (const Matrix& a, const Complex& b); |
50 | 51 |
51 extern octave_value xpow (const DiagMatrix& a, double b); | 52 extern octave_value xpow (const DiagMatrix& a, double b); |
52 extern octave_value xpow (const DiagMatrix& a, const Complex& b); | 53 extern octave_value xpow (const DiagMatrix& a, const Complex& b); |
54 | |
55 extern octave_value xpow (const PermMatrix& a, double b); | |
53 | 56 |
54 extern octave_value xpow (const Complex& a, double b); | 57 extern octave_value xpow (const Complex& a, double b); |
55 extern octave_value xpow (const Complex& a, const Matrix& b); | 58 extern octave_value xpow (const Complex& a, const Matrix& b); |
56 extern octave_value xpow (const Complex& a, const Complex& b); | 59 extern octave_value xpow (const Complex& a, const Complex& b); |
57 extern octave_value xpow (const Complex& a, const ComplexMatrix& b); | 60 extern octave_value xpow (const Complex& a, const ComplexMatrix& b); |
104 extern octave_value xpow (const FloatMatrix& a, const FloatComplex& b); | 107 extern octave_value xpow (const FloatMatrix& a, const FloatComplex& b); |
105 | 108 |
106 extern octave_value xpow (const FloatDiagMatrix& a, float b); | 109 extern octave_value xpow (const FloatDiagMatrix& a, float b); |
107 extern octave_value xpow (const FloatDiagMatrix& a, const FloatComplex& b); | 110 extern octave_value xpow (const FloatDiagMatrix& a, const FloatComplex& b); |
108 | 111 |
112 extern octave_value xpow (const PermMatrix& a, float b); | |
113 | |
109 extern octave_value xpow (const FloatComplex& a, float b); | 114 extern octave_value xpow (const FloatComplex& a, float b); |
110 extern octave_value xpow (const FloatComplex& a, const FloatMatrix& b); | 115 extern octave_value xpow (const FloatComplex& a, const FloatMatrix& b); |
111 extern octave_value xpow (const FloatComplex& a, const FloatComplex& b); | 116 extern octave_value xpow (const FloatComplex& a, const FloatComplex& b); |
112 extern octave_value xpow (const FloatComplex& a, const FloatComplexMatrix& b); | 117 extern octave_value xpow (const FloatComplex& a, const FloatComplexMatrix& b); |
113 | 118 |