diff 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
line wrap: on
line diff
--- a/src/xpow.h	Wed Mar 11 10:42:04 2009 +0100
+++ b/src/xpow.h	Wed Mar 11 14:07:24 2009 +0100
@@ -34,6 +34,7 @@
 class ComplexDiagMatrix;
 class FloatDiagMatrix;
 class FloatComplexDiagMatrix;
+class PermMatrix;
 class NDArray;
 class FloatNDArray;
 class ComplexNDArray;
@@ -51,6 +52,8 @@
 extern octave_value xpow (const DiagMatrix& a, double b);
 extern octave_value xpow (const DiagMatrix& a, const Complex& b);
 
+extern octave_value xpow (const PermMatrix& a, double b);
+
 extern octave_value xpow (const Complex& a, double b);
 extern octave_value xpow (const Complex& a, const Matrix& b);
 extern octave_value xpow (const Complex& a, const Complex& b);
@@ -106,6 +109,8 @@
 extern octave_value xpow (const FloatDiagMatrix& a, float b);
 extern octave_value xpow (const FloatDiagMatrix& a, const FloatComplex& b);
 
+extern octave_value xpow (const PermMatrix& a, float b);
+
 extern octave_value xpow (const FloatComplex& a, float b);
 extern octave_value xpow (const FloatComplex& a, const FloatMatrix& b);
 extern octave_value xpow (const FloatComplex& a, const FloatComplex& b);