From fbc4dc293cd09d795f62db3203af80cf1eb44531 Mon Sep 17 00:00:00 2001 From: Julian Weigt Date: Tue, 20 Jan 2026 12:37:08 +0100 Subject: Add code to print also derivatives. --- charf.c | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) (limited to 'charf.c') diff --git a/charf.c b/charf.c index ad2da3b..4ffbb54 100644 --- a/charf.c +++ b/charf.c @@ -220,15 +220,40 @@ void format_result(char* s, int index, int k, EXPTYPE p, VALUETYPE r, int format root_to_string(rts,r,p); l += sprintf(s+l,"|f^(%2d)|_%s: %s",k,e,rts); /*Compute and print also Mf.*/ + /*Compute and print also df and dMf.*/ /* VALUETYPE Mf[N]; compute_maximalfunction(f, Mf, d); - l += sprintf(s+l,"\nMf: "); + l += sprintf(s+l,"\nM: "); for(int i=0; i