(X, r=1)
return result
It implements the following formula:

        .. math::
            \\varphi(\\boldsymbol{x}) = e^{-\\frac{\\boldsymbol{x}^2}{r^2}}

        :param numpy.ndarray X: the norm x in the formula above.
        :param float r: the parameter r in the formula above.

        :return: result: the result of the formula above.
        :rtype: float
It implements the following formula:
It implements the following formula :
def gaussian_spline(X, r=1):
        """
        It implements the following formula:

        .. math::
            \\varphi(\\boldsymbol{x}) = e^{-\\frac{\\boldsymbol{x}^2}{r^2}}

        :param numpy.ndarray X: the norm x in the formula above.
        :param float r: the parameter r in the formula above.

        :return: result: the result of the formula above.
        :rtype: float
        """
        result = np.exp(-(X * X) / (r * r))
        return result
def gaussian_spline ( X , r = 1 ) : result = np . exp ( - ( X * X ) / ( r * r ) ) return result