These are chat archives for symengine/symengine

8th
Jul 2015
Francesco Biscani
@bluescarni
Jul 08 2015 08:21
@certik Sure, sounds good! I will try today to fix the performance regression when including thread_pool
Francesco Biscani
@bluescarni
Jul 08 2015 08:48
There's a bunch of ideas I have to improve piranha::integer which do not make much sense if it is used only in Piranha, but that would make more sense if it is were to be used in a more general fashion
Isuru Fernando
@isuruf
Jul 08 2015 10:46

@certik, this commit (isuruf/symengine@1ea17ef) would make coercions into SR work without changing sage.

For development work, what I do is,

  • Make a new build directory and cd into it
  • Start sage shell (sage -sh)
  • cmake -DWITH_PYTHON=yes -DWITH_MPC=yes -DBUILD_SHARED_LIBS=on -DCOMMON_DIR=$SAGE_LOCAL -DCMAKE_INSTALL_PREFIX=$SAGE_LOCAL path/to/symengine/source
  • make install
Ondřej Čertík
@certik
Jul 08 2015 14:55
@bluescarni I was wondering if you want to make piranha::integer perhaps more easily usable outside of Piranha. I think lots of projects would benefit.
@isuruf ah cool! I was wondering about that.
Btw, we need to greatly improve the Python wrappers to matrices... @thilinarmtb did a bit hasty job here. ;)
Ondřej Čertík
@certik
Jul 08 2015 16:42
@Sumith1896 any progress on writing up the issues?
Sumith Kulal
@Sumith1896
Jul 08 2015 16:43
Yes, I'm writing now. Hopefully done by tonight.
Sumith Kulal
@Sumith1896
Jul 08 2015 16:50
@certik Did you get any workaround for importing Piranha?
sympy/symengine#511 is the best I think of
Conditional include #if defined(HAVE_SYMENGINE_PIRANHA)
Isuru Fernando
@isuruf
Jul 08 2015 17:53
@certik, coercion to SR works, but things like sin(x) where x is a symengine object doesn't work.
We also want to support things like, RealField(50)(sqrt(symengine.Integer(2)))
Isuru Fernando
@isuruf
Jul 08 2015 18:16
Python wrappers needs to be done for all the functions we support as well.