summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--charf.c11
1 files 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];