These are chat archives for symengine/symengine

15th
Mar 2016
Abhinav Agarwal
@abhinavagarwal07
Mar 15 2016 03:18
@isuruf for integration how do you catch something like sin(x)*cos(2x) from bvisit.
I think we can have integrate as member of basic to do integration of simple functions etc and solve integration of complex expressions integration case by case.
Isuru Fernando
@isuruf
Mar 15 2016 03:35
You'll get it in a Mul
Akash Trehan
@CodeMaxx
Mar 15 2016 14:16
Does const Add &s = static_cast<const Add &>(*arg); give a dictionary of all the members of a Basic arg and their coefficients??
Isuru Fernando
@isuruf
Mar 15 2016 14:22
I'm not sure what you are asking about
Akash Trehan
@CodeMaxx
Mar 15 2016 14:23
Oh I got it. Basically meant to ask if Add object is a dictionary of terms and their coeff
Referred to add.cpp
Isuru Fernando
@isuruf
Mar 15 2016 14:38
@bollu, are you here?
Akash Trehan
@CodeMaxx
Mar 15 2016 14:58
@isuruf Is there an alternative of BFD for mac?
Isuru Fernando
@isuruf
Mar 15 2016 14:59
BFD should be there. What's missing is the link.h header
Akash Trehan
@CodeMaxx
Mar 15 2016 14:59
yeah wanted to say the same thing… I couldn’t find anything on google
Isuru Fernando
@isuruf
Mar 15 2016 15:06
What's missing is the dl_iterate_phdr functionality. This can be fixed http://stackoverflow.com/questions/10009043/dl-iterate-phdr-equivalent-on-mac
But as I don't have access to OS X, haven't been abe to look into it
Abhinav Agarwal
@abhinavagarwal07
Mar 15 2016 20:23
@isuruf how do we get the coefficient of a particular symbol (if it exists) from an (expression)RCP<const Basic> like coef of y is 3 in 4x+3y