def convolve(f1, f2, r, a, b, n): def f12(x): return (f1(x) * f2(x - r)) r = integrate.int2(f12, a, b, n) return (r)
def c(r): def f12(x): return(f1(x)*f2(x-r)) return(integrate.int2(f12,a,b,n))
def c(r): def f12(x): return (f1(x) * f2(x - r)) return (integrate.int2(f12, a, b, n))
def convolve(f1,f2,r,a,b,n): def f12(x): return(f1(x)*f2(x-r)) r = integrate.int2(f12,a,b,n) return(r)