Ian Jauslin
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/determinant.h')
-rw-r--r--src/determinant.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/determinant.h b/src/determinant.h
new file mode 100644
index 0000000..613be87
--- /dev/null
+++ b/src/determinant.h
@@ -0,0 +1,17 @@
+/*
+ Compute the determinant of a number matrix
+*/
+
+#ifndef DETERMINANT_H
+#define DETERMINANT_H
+
+#include "types.h"
+
+// determinant of a matrix
+int determinant_inplace(Number_Matrix M, Number* out);
+
+// LU decomposition
+int LU_dcmp_inplace(Number_Matrix M, int* sign_correction);
+
+
+#endif