These are chat archives for symengine/symengine

13th
Mar 2016
Isuru Fernando
@isuruf
Mar 13 2016 01:42
@certik, did you disable coveralls Push Status API?
Nishant Nikhil
@nishnik
Mar 13 2016 12:03
@isuruf
I implemented a Singleton class in #846 .
Could you please look into it.
I am at a fix here.
I have changed the inheritances too.
Though I have not implemented add, sub etc, I plan to implement them soon.
Isuru Fernando
@isuruf
Mar 13 2016 13:28
Set inheriting from Number is not the way to go. As I mentioned in the PR, design of Interval depends on what you are going to be using it for
As for the singleton, what's wrong with the current solution?
Nishant Nikhil
@nishnik
Mar 13 2016 16:04
Interval will be used for returning solutions to inequalities.
And could you please elaborate of what you expect a set class to be like.
parthparashar1647
@parthparashar1647
Mar 13 2016 17:33
trying to solve symengine/symengine.rb#19 but unable to find where change is to be made
parthparashar1647
@parthparashar1647
Mar 13 2016 17:44
i have found the method but do not know where rational function is defined
Isuru Fernando
@isuruf
Mar 13 2016 18:26
@nishnik, you should have mentioned solutions to inequalities. I was thinking along the lines of what arb does.
If you are using it for returning solutions to inequalities, then you don't need to inherit from Number. Just from Basic is enough.