These are chat archives for symengine/symengine

5th
Mar 2016
Isuru Fernando
@isuruf
Mar 05 2016 02:22
@bollu, about WITH_SYMENGINE_RCP, is it possible to look at the config file and create the object with the correct size?
About which version. We test against a specific version, and bump the version from time to time. See symengine/symengine.py for details
Isuru Fernando
@isuruf
Mar 05 2016 02:37
@certik, can you make a new repo symengine/symengine.hs so that @bollu, can send a Pull request?
It's easier if we do this early, so that we can review @bollu's work incrementally
Ah, it seems I can do that
Isuru Fernando
@isuruf
Mar 05 2016 02:43
@bollu, can you send a PR to symengine/symengine.hs?
To do that,
Make sure your local git repo is up-to-date
Delete your github repo.
Fork the symengine repo
Push your local copy to the new fork
Submit a PR
Abhinav Agarwal
@abhinavagarwal07
Mar 05 2016 04:50
I think there can be a indefinite integral class similar to derivative class
Akash Trehan
@CodeMaxx
Mar 05 2016 07:39
What is the type_codes.inc file needed for?
Siddharth
@bollu
Mar 05 2016 08:44
@isuruf : sure, I'll do that tonight
Isuru Fernando
@isuruf
Mar 05 2016 09:37
@CodeMaxx, it's used in several files, for different uses. Let me know if you don't understand any of those
Akash Trehan
@CodeMaxx
Mar 05 2016 09:40
What does this statement do? Is it using this file?
Isuru Fernando
@isuruf
Mar 05 2016 09:41
No. It will implement the methods needed for the typeid system. See here, https://github.com/symengine/symengine/blob/master/symengine/basic.h#L258
Akash Trehan
@CodeMaxx
Mar 05 2016 09:42
Another thing… I was thinking of adding Infinity class. Do we need a new file for it or should it go in number.cpp ?
Isuru Fernando
@isuruf
Mar 05 2016 09:42
A new file would be great
For Infinity are you going to implement directional infinity like sage?
@rwst should know more about it
Akash Trehan
@CodeMaxx
Mar 05 2016 09:45
I have not seen how it works in sage…Was looking at sympy though. It includes Infinity , NegativeInfinity and ComplexInfinity
By ‘directional’ do you mean positive and negative separately?
Isuru Fernando
@isuruf
Mar 05 2016 09:47
And sympy have weird things like Infinity+I*2*Infinity == Infinity+I*Infinity
No, Infinity with a direction. (Unit vector along that direction.)
Akash Trehan
@CodeMaxx
Mar 05 2016 09:56
constant*Infinity should be treated as Infinity shouldn’t it?
I’m not very sure how treating Infinity as a vector would be useful. I guess I’ll have to look at sage’s code.
Akash Trehan
@CodeMaxx
Mar 05 2016 10:10
And in case of sympy, if you mean that Infinity == Infinity should have been treated as false , then can be fixed while implementing it for symengine.
Isuru Fernando
@isuruf
Mar 05 2016 11:07
Positive infinity can be thought of as a vector along 1 with a magnitude arbitrarily large. -1 for negative infinity.
Ralf Stephan
@rwst
Mar 05 2016 13:58
@CodeMaxx actually Sage has two implementations, an InfinityRing and infinity with directions inside Pynac: