#NEWLINE# def __init__( self , a = None , b = None , m = None , kappa = None , **kwargs ) : #NEWLINE# #INDENT# ' Create new GaussGammaDistr object, with specified parameter values\n\n        Args\n        -------\n        a : numpy 1D array_like, length D\n        b : numpy 1D array_like, length D\n        m : numpy 1D array_like, length D\n        kappa : float\n\n        Returns \n        -------\n        D : bnpy GaussGammaDistr object, with provided parameters\n    ' #NEWLINE# self . a = np . squeeze ( np . asarray ( a ) ) #NEWLINE# self . b = np . squeeze ( np . asarray ( b ) ) #NEWLINE# self . m = np . squeeze ( np . asarray ( m ) ) #NEWLINE# self . kappa = float ( kappa ) #NEWLINE# assert ( self . b . ndim <= 1 ) #NEWLINE# assert ( self . m . shape == self . b . shape ) #NEWLINE# assert ( self . a . shape == self . m . shape ) #NEWLINE# self . D = self . b . size #NEWLINE# self . Cache = dict ( )