These are chat archives for symengine/symengine

12th
Mar 2018
Gary Tan
@tgn3000
Mar 12 2018 04:38
The following still gives a-b. Is it expected?
RCP<const Basic> a(symbol("a")), b(symbol("b")), c(symbol("c")), asubb = sub(a,b);
map_basic_basic dict3 = {{sub(b,a), c}};
cout << *(asubb->subs(dict3)) << endl;
Isuru Fernando
@isuruf
Mar 12 2018 05:30
@tgn3000, subs is not mathematically aware yet. Another issue is symengine/symengine#1359
We'd like to keep xreplace as mathematically unaware and just do replacement on the expression tree and subs to be more mathematically aware
Isuru Fernando
@isuruf
Mar 12 2018 05:43
@Malkhan52, we are still working on supporting symengine.rb on windows
Gary Tan
@tgn3000
Mar 12 2018 08:11
@isuruf Thank you for the answer!