These are chat archives for symengine/symengine

20th
May 2015
Abinash Meher
@abinashmeher999
May 20 2015 05:47
Yes, that would be easier. But aren't global variables discouraged? Why is it permissible in this case?
Ondřej Čertík
@certik
May 20 2015 06:17
Yes, they are discouraged in general. But it this case, it actually makes sens to use them.
Sumith Kulal
@Sumith1896
May 20 2015 06:20
@certik In the Polynomial, the map should be changed to unsigned to mpz_class, right?
Abinash Meher
@abinashmeher999
May 20 2015 13:11
There are c wrappers for basic, integer, rational and symbol classes in cwrapper.h. Shall I divide them into separate files? @certik @isuruf
Ondřej Čertík
@certik
May 20 2015 17:55
@abinashmeher999 perhaps later we can. For now try to get the full wrappers working, so that we can test it from Ruby. Then we'll go from there.
@Sumith1896, the coefficients of the terms must be mpz_class, but the exponents can remain unsigned.