These are chat archives for symengine/symengine
@isuruf I was thinking over the implementation of the interface with the other libraries. I think there are two ways to go about it. First, there is a single
UnivaraiateIntPolynomial class, and the user decides on creation which internal "implementation" will the said polynomial use. Then, the functions like
mul_poly will just have internal checks to see which type of implementations the polynomials use, and do the necessary manipulation.
Second, is to create separate
UnivariateInt classes like,
UnivariateIntPiranha and so on. Thus a user can explicitly decide to use whichever he wants. Plus, the methods like
mul_poly can be overloaded to deal with different polynomial types accordingly.
Any suggestions you have as to how I should start off?
benchmarks/CMakeLists.txtfor it to compile with other benchmarks