Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate gmp and related gems with the ruby bindings #490

Closed
abinashmeher999 opened this issue Jun 27, 2015 · 1 comment
Closed

Integrate gmp and related gems with the ruby bindings #490

abinashmeher999 opened this issue Jun 27, 2015 · 1 comment

Comments

@abinashmeher999
Copy link
Contributor

The library currently uses gmp, mpfr and mpc libraries. Data types from these libraries, like mpz_t, mpq_t are used for the inputs to the functions in the c wrappers. Since SymEngine can accept these data types and utilise it for operations, the Ruby bindings should also be able to do it. I came to know that there are ruby bindings for these libraries(gmp, ruby-mpfr, gnu_mpc and ruby-mpc) as well. If #478 is addressed and same is done for other data types, then we can wrap it ourselves. Else or along with the previous approach, we should also plan on integrating these gems with the symengine gem. This would involve extracting the c information from objects of the classes in those gems, and then using it with the C API used in our bindings.

@abinashmeher999 abinashmeher999 changed the title Integrate gmp and related gem with the ruby bindings Integrate gmp and related gems with the ruby bindings Jun 27, 2015
@rwst
Copy link
Contributor

rwst commented Dec 23, 2015

Isn't this an issue with symengine.rb only? If not, which part is symengine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants