Perhaps this is what you mean: s = 1.0 quadgk(t -> f(s,t),0,1)
On Sunday, October 16, 2016 at 2:37:58 AM UTC+2, digxx wrote: > > having a function of the form f(s,t) defined is it possible to somehow > tell quadgk to not evaluate until I supply a value for s while t should be > the integration variable? > e.g. sth like. The syntax I found so far excluded any arguments... > g=s-> quadgk(f(s,*),0,1) >