def add_flex_arithmetic_methods(cls, flex_arith_method, flex_comp_method=None, flex_bool_method=None, use_numexpr=True, force=False, select=None, exclude=None):
 new_methods = _create_methods(flex_arith_method, flex_comp_method, flex_bool_method, use_numexpr, default_axis='columns', special=False)
 new_methods.update(dict(multiply=new_methods['mul'], subtract=new_methods['sub'], divide=new_methods['div']))
 for k in ('ror_', 'rxor', 'rand_'):
  if (k in new_methods):
   new_methods.pop(k)
 add_methods(cls, new_methods=new_methods, force=force, select=select, exclude=exclude)

def add_flex_arithmetic_methods ( cls , flex_arith_method , flex_comp_method = None , flex_bool_method = None , use_numexpr = True , force = False , select = None , exclude = None ) : new_methods = _create_methods ( flex_arith_method , flex_comp_method , flex_bool_method , use_numexpr , default_axis = 'columns' , special = False ) new_methods . update ( dict ( multiply = new_methods [ 'mul' ] , subtract = new_methods [ 'sub' ] , divide = new_methods [ 'div' ] ) ) for k in ( 'ror_' , 'rxor' , 'rand_' ) : if ( k in new_methods ) : new_methods . pop ( k ) add_methods ( cls , new_methods = new_methods , force = force , select = select , exclude = exclude )
adds the full suite of flex arithmetic methods to the class .