(a, b, lim)
return integrate(conjugate(a)*b, lim)
Calculates the L2 inner product (a, b) over the domain lim.
Calculates the L2 inner product (a, b) over the domain lim.
Calculates the L2 inner product ( a b ) over the domain lim .
def l2_inner_product(a, b, lim):
    """
    Calculates the L2 inner product (a, b) over the domain lim.
    """
    return integrate(conjugate(a)*b, lim)
def l2_inner_product ( a , b , lim ) : return integrate ( conjugate ( a ) * b , lim )