diff options
| author | Julian Weigt <juw@posteo.de> | 2026-01-19 16:17:21 +0100 |
|---|---|---|
| committer | Julian Weigt <juw@posteo.de> | 2026-02-04 15:56:58 +0100 |
| commit | 4e078ee11a5c984fe90d71187093becab0c97191 (patch) | |
| tree | cc49a0e5def47e64b1d7af2b97ec97c5f6ac8165 /charf.c | |
| parent | 880bafc7c78f4c406bd579b551451cb13342820b (diff) | |
Increase parameters for longer run.
Diffstat (limited to 'charf.c')
| -rw-r--r-- | charf.c | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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]; |
