aboutsummaryrefslogtreecommitdiff
path: root/aberth/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'aberth/defs.h')
-rw-r--r--aberth/defs.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/aberth/defs.h b/aberth/defs.h
new file mode 100644
index 0000000..40eacf0
--- /dev/null
+++ b/aberth/defs.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <complex>
+#include <array>
+
+using namespace std;
+
+
+constexpr const int N = 18;
+
+using Com = complex<double>;
+using Poly = array<int, N + 1>;
+using AApprox = array<Com, N>;