These are chat archives for symengine/symengine

6th
Mar 2017
Shikhar Jaiswal
@ShikharJ
Mar 06 2017 11:48
@isuruf Regarding symengine/symengine.py#126, wouldn't using min and max lead us back to the same issue of namespace?
Isuru Fernando
@isuruf
Mar 06 2017 11:49
I meant use min from libsymengine
Shikhar Jaiswal
@ShikharJ
Mar 06 2017 12:58

But for that I'll have to re-define this:

def max(*args):        
     cdef symengine.vec_basic v        
     cdef Basic e_        
     for e in args:        
         e_ = sympify(e)        
         v.push_back(e_.thisptr)        
     return c2py(symengine.max(v))

Should I define this inside the Max class?

Isuru Fernando
@isuruf
Mar 06 2017 15:24
make it def _max(*args)