#NEWLINE# def __init__( self , scalar_op , inplace_pattern = None , name = None , nfunc_spec = None , openmp = None ) : #NEWLINE# #INDENT# if ( inplace_pattern is None ) : #NEWLINE# #INDENT# inplace_pattern = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# #UNINDENT# self . name = name #NEWLINE# self . scalar_op = scalar_op #NEWLINE# self . inplace_pattern = inplace_pattern #NEWLINE# self . destroy_map = dict ( ( ( o , [ i ] ) for ( o , i ) in inplace_pattern . items ( ) ) ) #NEWLINE# self . ufunc = None #NEWLINE# self . nfunc = None #NEWLINE# if ( nfunc_spec is None ) : #NEWLINE# #INDENT# nfunc_spec = getattr ( scalar_op , 'nfunc_spec' , None ) #NEWLINE# #UNINDENT# self . nfunc_spec = nfunc_spec #NEWLINE# if nfunc_spec : #NEWLINE# #INDENT# self . nfunc = getattr ( numpy , nfunc_spec [ 0 ] ) #NEWLINE# #UNINDENT# self . _rehash ( ) #NEWLINE# super ( Elemwise , self ) . __init__ ( openmp = openmp )