#NEWLINE# def __init__( self , distribution , scale = None , cov = None ) : #NEWLINE# #INDENT# MCMCSampler . __init__ ( self , distribution ) #NEWLINE# if ( scale is None ) : #NEWLINE# #INDENT# self . scale = ( ( 2.38 ** 2 ) / distribution . dimension ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . scale = scale #NEWLINE# #UNINDENT# if ( cov is None ) : #NEWLINE# #INDENT# self . cov = eye ( distribution . dimension ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . cov = cov