These are chat archives for symengine/symengine

25th
Jan 2015
Shivam Vats
@shivamvats
Jan 25 2015 06:45
Adding virtual methods is indeed clumsy. However the visitor pattern is a viable option is nothing else works out. I'm not too familiar with Csympy's type system. Could you tell me more about it? I can see that the derived classes return a number corresponding to the class. By the look of it, it should be fast.
Sumith Kulal
@Sumith1896
Jan 25 2015 06:59
mul(integer(2), pow(symbol("x"), integer(2))) a valid csympy statement
Shivam Vats
@shivamvats
Jan 25 2015 07:11
A Series class will definitely make manipulation of series much easier, so that the sum, product, etc of two series' returns another series. I think it is a better idea than the current implementation in Sympy.
Sumith Kulal
@Sumith1896
Jan 25 2015 07:12
If I do some changes in the code and then what should I be doing to see the changes?
Shivam Vats
@shivamvats
Jan 25 2015 07:16
@Sumith1896 If you modify the Cpp code, you'll need to make Csympy. However if you modify the wrappers, you don't need to do that.
@certik The Series class can store a representation of the series(even infinite) and we can also add methods like diff, truncate, etc to it. This way, extending the class will be quite easy.