These are chat archives for symengine/symengine

6th
May 2016
Isuru Fernando
@isuruf
May 06 2016 03:45
@srajangarg, yeah, give me a ping when you are around
Srajan Garg
@srajangarg
May 06 2016 04:19
@isuruf There?
Isuru Fernando
@isuruf
May 06 2016 04:20
Yes
About the GSoC project, what do you think about pushing the improvements to polynomials with integer and rational coefficients to the end of the summer and focus on wrapping other libraries and symbolics in the beginning?
Srajan Garg
@srajangarg
May 06 2016 04:37
Yes, I think that can be done too
I'll start with FLINT soon, then
Isuru Fernando
@isuruf
May 06 2016 05:00
I think what is really needed at the beginning is some form of polynomial functionalities. It's okay to use other libraries to facilitate this and then later we can add our own implementations. Note that there's also plans about using flint by default
Srajan Garg
@srajangarg
May 06 2016 05:07
The problem with flint is that it uses a dense representation
It may be very bad for sparse polynomials in general
Isuru Fernando
@isuruf
May 06 2016 05:10
Right, but you can always come up with synthetic examples that exhibit bad timings for all types of representations. There's nothing wrong with a dense representation except when the polynomials are sparse and for things like power series etc, dense is better
Srajan Garg
@srajangarg
May 06 2016 05:26
Basically we can have a switching mechanism, according to how sparse the polynomial is? Best of both worlds sort of thing?
Use flint, if density > some value, otherwise piranha/symengine?
Isuru Fernando
@isuruf
May 06 2016 05:42
Yes, or we can let user decide which type to use
Srajan Garg
@srajangarg
May 06 2016 06:59
Can you give me a starting point, as to how the structure of the code should be? Should it be like the integer_class implementation that is done?
Where we can choose which polynomial_class will be used? Or should it not be that explicit?
Isuru Fernando
@isuruf
May 06 2016 07:42
integer_class is chosen at compile time, which is not desirable in this case.
What we need is some interface that all of these polynomial classes implement
For example, see Number or SeriesCoeffInterface
Srajan Garg
@srajangarg
May 06 2016 13:09
@isuruf Can I finish my work on ks2, and then move to FLINT? I don't want to leave the started work mid way.
Isuru Fernando
@isuruf
May 06 2016 15:38
Yes, of course