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 #8

Open
abinashmeher999 opened this issue Jan 25, 2016 · 0 comments
Open

Integrate gmp and related gems with the ruby bindings #8

abinashmeher999 opened this issue Jan 25, 2016 · 0 comments

Comments

@abinashmeher999
Copy link
Contributor

Moved from symengine/symengine#490
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.

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

1 participant