These are chat archives for symengine/symengine

6th
Jun 2016
Srajan Garg
@srajangarg
Jun 06 2016 04:17
@isuruf are any changes needed in #971? Can you merge it in.

@bluescarni

so there are some optimisations for rational and integer, but only those for rational coefficients are "hard-coded"
by this I mean that any integral class can implement the same optimisations, provided it implements certain methods

Which are the "certain methods" that I may need to implement. You've told me one, which is multiply_accumulate. Are there others?

@isuruf Also, I will have to write multiply_accumulate, for each type of integer_class right?
Isuru Fernando
@isuruf
Jun 06 2016 04:21
@srajangarg, yes
Francesco Biscani
@bluescarni
Jun 06 2016 08:31
@srajangarg there's a few of those, but I cannot tell right now which ones are the most important performance-wise
is_zero() and negate() probably I'd guess
Francesco Biscani
@bluescarni
Jun 06 2016 08:38
let me know if you need help implementing the specialisation of these functions
Srajan Garg
@srajangarg
Jun 06 2016 08:47
Sure, thanks! Let me know if you recall any more functions