summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortorset2009-02-04 14:18:53 +0000
committertorset2009-02-04 14:18:53 +0000
commitc9f4f46af9956f8fc25849d9a87bcc513b6c6768 (patch)
tree7276d7b4adbd5ccbb0fda42453d8c5be996c0e9c /src
parent0c5bdd65962433bd3611279cb911f5100f00b2d0 (diff)
downloadscilab2c-c9f4f46af9956f8fc25849d9a87bcc513b6c6768.tar.gz
scilab2c-c9f4f46af9956f8fc25849d9a87bcc513b6c6768.tar.bz2
scilab2c-c9f4f46af9956f8fc25849d9a87bcc513b6c6768.zip
Add matrixPow header
Diffstat (limited to 'src')
-rw-r--r--src/matrixOperations/includes/matrixPow.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/matrixOperations/includes/matrixPow.h b/src/matrixOperations/includes/matrixPow.h
new file mode 100644
index 00000000..d9d5684b
--- /dev/null
+++ b/src/matrixOperations/includes/matrixPow.h
@@ -0,0 +1,36 @@
+
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008 - INRIA - Arnaud TORSET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
+ *
+ */
+
+#ifndef __MATRIXPOW_H__
+#define __MATRIXPOW_H__
+
+#include "floatComplex.h"
+#include "doubleComplex.h"
+
+/*
+ powm is only working on square matrix
+ so the size is limited to rows
+*/
+void spowma(float* in, int rows, float expand, float* out);
+
+void dpowma(double* in, int rows, double expand, double* out);
+
+void cpowma(floatComplex* in, int rows, floatComplex expand, floatComplex* out);
+
+void zpowma(doubleComplex* in, int rows, doubleComplex expand, doubleComplex* out);
+
+
+
+
+
+#endif/*__MATRIXPOW_H__*/