From 4e078ee11a5c984fe90d71187093becab0c97191 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Mon, 19 Jan 2026 16:17:21 +0100 Subject: Increase parameters for longer run. --- charf.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/charf.c b/charf.c index cd0ef32..041cc39 100644 --- a/charf.c +++ b/charf.c @@ -35,13 +35,13 @@ #define STRING_SIZE 65536 /*maximum length of the support of f*/ -#define N 24 +#define N 32 /*maximal order of derivative*/ -#define K 24 +#define K 32 /*maximal number of exponents*/ -#define P 2 +#define P 5 /*given function df[0] on domain [0,M-1], compute derivatives f' until f^{(K)} and store f^{(K)} in df*/ void differentiate(VALUETYPE* f, VALUETYPE* df, int D, int k){ @@ -413,7 +413,10 @@ void* compute_chunk(void* arguments){ int main() { EXPTYPE exponents[P]; exponents[0] = int_to_exptype(1); - exponents[1] = infinity_to_exptype(); + exponents[1] = int_to_exptype(2); + exponents[2] = int_to_exptype(4); + exponents[3] = int_to_exptype(8); + exponents[4] = infinity_to_exptype(); pthread_t threads[NUM_THREADS]; Args args[NUM_THREADS]; -- cgit v1.2.3