def __init__(self, X, Xstar=None):
        """
        X:          [dim, 1] input matrix
        Xstar:      [dim_star, 1] out-of-sample input matrix
        """
        Covariance.__init__(self)
        self._scale_act = True
        self._length_act = True

        X = assert_make_float_array(X, "X")
        assert_finite_array(X)
        self.X = X

        if Xstar is not None:
            Xstar = assert_make_float_array(Xstar, "Xstar")
            assert_finite_array(Xstar)

        self.Xstar = Xstar
        self.params = np.zeros(2)
def __init__ ( self , X , Xstar = None ) : Covariance . __init__ ( self ) self . _scale_act = True self . _length_act = True X = assert_make_float_array ( X , "X" ) assert_finite_array ( X ) self . X = X if Xstar is not None : Xstar = assert_make_float_array ( Xstar , "Xstar" ) assert_finite_array ( Xstar ) self . Xstar = Xstar self . params = np . zeros ( 2 )
X:          [dim, 1] input matrix
        Xstar:      [dim_star, 1] out-of-sample input matrix