I think what you want is g(s) = quadgk(t->f(s,t), 0, 1)
On Saturday, October 15, 2016 at 6:37:58 PM UTC-6, 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) >