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

Integration with owl #1

Open
mseri opened this issue Sep 3, 2019 · 3 comments
Open

Integration with owl #1

mseri opened this issue Sep 3, 2019 · 3 comments

Comments

@mseri
Copy link

mseri commented Sep 3, 2019

I was starting writing my own bindings for symengine when I have found these. I would like to port them to the dune build system (what used to be jbuilder) and make it compatible with https://github.com/owlbarn/owl

Are you interested in these changes? What do you think is the best way to make symengine interoperate with Owl ndarray (practically the same as numpy ndarray)?

@clouds56
Copy link
Contributor

clouds56 commented Sep 8, 2019

interesting point, how do you think the best way to integrate symengine with owl ndarray?
I think owl is a numerical computing library while symengine is CAS.

@mseri
Copy link
Author

mseri commented Sep 8, 2019

I understand this, but you can lambdify sympy functions and broadcast them over numpy array almost directly, having numpy primitives for the lambdification. I would like to understand if the same could be done also between SymEngine and owl’s ndarray in a coherent way.

@isuruf
Copy link

isuruf commented Sep 11, 2019

I would like to understand if the same could be done also between SymEngine

A SymEngine developer here. Yes, this can be done in SymEngine C++ library. See https://github.com/symengine/symengine/blob/master/symengine/tests/eval/test_lambda_double.cpp#L282-L297 for an example.

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

No branches or pull requests

3 participants