summaryrefslogtreecommitdiff
path: root/src/matrixOperations/includes/matrixInversion.h
diff options
context:
space:
mode:
authorjofret2008-11-25 12:57:25 +0000
committerjofret2008-11-25 12:57:25 +0000
commita53ec9cba50352f88593aede499c20f28831e2bd (patch)
tree5c4fb4bc364c075e21d0f2eeb62a796da8534b73 /src/matrixOperations/includes/matrixInversion.h
parent78b444010255279a86eec3c4ab4ca43879ad0dc1 (diff)
downloadscilab2c-a53ec9cba50352f88593aede499c20f28831e2bd.tar.gz
scilab2c-a53ec9cba50352f88593aede499c20f28831e2bd.tar.bz2
scilab2c-a53ec9cba50352f88593aede499c20f28831e2bd.zip
adding matrix inversion prototypes
Diffstat (limited to 'src/matrixOperations/includes/matrixInversion.h')
-rw-r--r--src/matrixOperations/includes/matrixInversion.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/matrixOperations/includes/matrixInversion.h b/src/matrixOperations/includes/matrixInversion.h
new file mode 100644
index 00000000..b1de5392
--- /dev/null
+++ b/src/matrixOperations/includes/matrixInversion.h
@@ -0,0 +1,59 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2008-2008 - INRIA - Allan SIMON
+ *
+ * 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 __MATRIXINVERSION_H__
+#define __MATRIXINVERSION_H__
+
+#include "abs.h"
+
+/*
+** \brief Compute the matrix inverse for floats.
+** \param in : input matrix.
+** \param leadDimIn : the leading dimension of the matrix .
+** \param out : the matrix inverse of the input .
+*/
+
+void sinverma ( float* in, float* out, int leadDimIn );
+
+/*
+** \brief Compute the matrix inverse for doubles.
+** \param in : input matrix.
+** \param leadDimIn : the leading dimension of the matrix .
+** \param out : the matrix inverse of the input .
+*/
+
+
+void dinverma ( double* in, double* out, int leadDimIn );
+
+/*
+** \brief Compute the matrix inverse for complex floats .
+** \param in : input matrix.
+** \param leadDimIn : the leading dimension of the matrix .
+** \param out : the matrix inverse of the input .
+*/
+
+
+void cinverma ( floatComplex* in, floatComplex* out, int leadDimIn );
+
+/*
+** \brief Compute the matrix inverse for complex doubles.
+** \param in : input matrix.
+** \param leadDimIn : the leading dimension of the matrix .
+** \param out : the matrix inverse of the input .
+*/
+
+
+void zinverma ( doubleComplex* in, doubleComplex* out, int leadDimIn );
+
+
+#endif /* !__MATRIXINVERSION_H__ */