original_docstring: Returns the integral of the square of the kernal from -inf to inf
docstring: Returns the integral of the square of the kernal from -inf to inf
docstring_tokens: Returns the integral of the square of the kernal from - inf to inf
code: def L2Norm(self):
          """Returns the integral of the square of the kernal from -inf to inf"""
          if self._L2Norm is None:
              L2Func = lambda x: (self.norm_const*self._shape(x))**2
              if self.domain is None:
                  self._L2Norm = scipy.integrate.quad(L2Func, -inf, inf)[0]
              else:
                  self._L2Norm = scipy.integrate.quad(L2Func, self.domain[0],
                                                 self.domain[1])[0]
          return self._L2Norm
code_tokens: def L2Norm ( self ) : if self . _L2Norm is None : L2Func = lambda x : ( self . norm_const * self . _shape ( x ) ) ** 2 if self . domain is None : self . _L2Norm = scipy . integrate . quad ( L2Func , - inf , inf ) [ 0 ] else : self . _L2Norm = scipy . integrate . quad ( L2Func , self . domain [ 0 ] , self . domain [ 1 ] ) [ 0 ] return self . _L2Norm
short_docstring: Returns the integral of the square of the kernal from -inf to inf
short_docstring_tokens: Returns the integral of the square of the kernal from - inf to inf
comment: """Returns the integral of the square of the kernal from -inf to inf"""