aboutsummaryrefslogtreecommitdiffstats
path: root/include/integral.h
diff options
context:
space:
mode:
authorjustanothercatgirl <sotov2070@gmail.com>2024-10-04 18:15:00 +0300
committerjustanothercatgirl <sotov2070@gmail.com>2024-10-04 20:14:24 +0300
commit7cf056d737ac5ad9d819220c855a53847185a327 (patch)
tree15a26d09d3f20fc7e318d3991962c688194f4d1a /include/integral.h
parentaa0d37540f5bc4bb6327b43c7213b46d0e261cf0 (diff)
Finished homework
Diffstat (limited to 'include/integral.h')
-rw-r--r--include/integral.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/integral.h b/include/integral.h
index e3583b8..3eb6ff7 100644
--- a/include/integral.h
+++ b/include/integral.h
@@ -1,12 +1,12 @@
#ifndef JUSTANOTHERCATGIRL_TASK4_INTEGRAL
#define JUSTANOTHERCATGIRL_TASK4_INTEGRAL
-typedef double(*f_t)(double);
+typedef double(*func_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);
+double int_rect(func_t f, double a, double b);
+double int_trap(func_t f, double a, double b);
+double int_simp(func_t f, double a, double b);
#endif //JUSTANOTHERCATGIRL_TASK4_INTEGRAL