Skip to content

Conversation

Marlin-Na
Copy link
Member

Added two functions - sympify_pycapsule and assign_to_pycapsule (maybe there are better names?)

This allows me to pass a symengine object from R to python through PyCapsule and vice versa. Then I can use SymPy functions within R via symengine.py's compatibility layer.

@isuruf
Copy link
Member

isuruf commented May 4, 2020

How about basic_to_pycapsule and pycapsule_to_basic?

@Marlin-Na
Copy link
Member Author

Names now change to basic_to_capsule and capsule_to_basic. @isuruf Would you have a review again?

@isuruf isuruf merged commit 62a0d89 into symengine:master May 8, 2020
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

Successfully merging this pull request may close these issues.

2 participants