You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we are just wrapping flatbuffers, we don't need to wrap the c++ code. We can just write equivalent python wrappers for flatbuffers. I realize this means that we have additional independent code. However, I don't know how well pybind11 would work with things like iterators. I'm guessing that since pmts are approximating a python dictionary anyway that the wrapper code would be pretty simple.
We should definitely include numpy support (i.e. convert to/from numpy arrays and pmts).
We should make sure that when we pass a pmt from python to c++ or vice versa that it doesn't alloc new memory. We should be able to just pass pointers around.
mormj
pushed a commit
to mormj/pmt
that referenced
this issue
Nov 17, 2022
What does the PMT library look like in Python?
The text was updated successfully, but these errors were encountered: