Is it possible to display the current evaluation result while NIntegrate[] is running?
Something like this:
Dynamic[c];
NIntegrate[f[x],{x,0,1},EvaluationMonitor :>(*assign current value of NIntegrate[] to c*)]
Let's say NIntegrate calls
f[0]=1
c=1
f[.1]=2
c=1.5
f[.4]=3
c=2
f[.7]=-1
c=1.25
...
Thanks in advance!
IntegrationMonitor -> ((c = Total@Through[#@"Integral"]) &).) – Michael E2 Dec 17 '21 at 18:26