parameters: (self, distance, rad)
return_statement: return phi
docstring: This method provides the value of the kernel function given the euclidean
          distance. The kernel function is the one used for RBF.
docstring_summary: This method provides the value of the kernel function given the euclidean
          distance. The kernel function is the one used for RBF.
docstring_tokens: This method provides the value of the kernel function given the euclidean distance . The kernel function is the one used for RBF .
function: def __CPC2(self, distance, rad):
          """
          This method provides the value of the kernel function given the euclidean
          distance. The kernel function is the one used for RBF.
          """
          phi = 0.0
          eps = distance/rad
  
          if eps < 1:
            phi = ((1.0-eps)**4)*(4.0*eps+1.0)
          else:
            phi = 0.0
  
          return phi
function_tokens: def __CPC2 ( self , distance , rad ) : phi = 0.0 eps = distance / rad if eps < 1 : phi = ( ( 1.0 - eps ) ** 4 ) * ( 4.0 * eps + 1.0 ) else : phi = 0.0 return phi