def l2_inner_product(a, b, lim):
    return integrate(conjugate(a)*b, lim)
Calculates the L2 inner product (a, b) over the domain lim.
dataset/ETHPy150Open sympy/sympy/examples/advanced/gibbs_phenomenon.py/l2_inner_product