#NEWLINE# def K( self , X , X2 = None ) : #NEWLINE# #INDENT# shape = ( X . shape [ 0 ] , ( X . shape [ 0 ] if ( X2 is None ) else shape . shape [ 0 ] ) ) #NEWLINE# ret = np . empty ( shape , dtype = np . float64 ) #NEWLINE# ret [ : ] = self . variance #NEWLINE# return ret