aboutsummaryrefslogtreecommitdiffstats
path: root/include/integral.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/integral.h')
-rw-r--r--include/integral.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/integral.h b/include/integral.h
new file mode 100644
index 0000000..e3583b8
--- /dev/null
+++ b/include/integral.h
@@ -0,0 +1,12 @@
+#ifndef JUSTANOTHERCATGIRL_TASK4_INTEGRAL
+#define JUSTANOTHERCATGIRL_TASK4_INTEGRAL
+
+typedef double(*f_t)(double);
+
+extern double accrc;
+
+double int_rect(f_t f, double a, double b);
+double int_trap(f_t f, double a, double b);
+double int_simp(f_t f, double a, double b);
+
+#endif //JUSTANOTHERCATGIRL_TASK4_INTEGRAL