def __init__(self, A=None, b=None):
        """
        A is a matrix which maps each element of X to Y, b is an additive
        constant.

        If X has N rows and D columns, and Y is intended to have Q columns,
        then A must be D x Q, b must be a vector of length Q.
        """
        A = np.ones((1, 1)) if A is None else A
        b = np.zeros(1) if b is None else b
        MeanFunction.__init__(self)
        self.A = Parameter(np.atleast_2d(A), dtype=settings.float_type)
        self.b = Parameter(b, dtype=settings.float_type)
def __init__ ( self , A = None , b = None ) : A = np . ones ( ( 1 , 1 ) ) if A is None else A b = np . zeros ( 1 ) if b is None else b MeanFunction . __init__ ( self ) self . A = Parameter ( np . atleast_2d ( A ) , dtype = settings . float_type ) self . b = Parameter ( b , dtype = settings . float_type )
A is a matrix which maps each element of X to Y, b is an additive
        constant.

        If X has N rows and D columns, and Y is intended to have Q columns,
        then A must be D x Q, b must be a vector of length Q.