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

Convert vector of vectors or array of pointer of pointers to numpy array and back #7

Open
adam2392 opened this issue May 13, 2021 · 0 comments

Comments

@adam2392
Copy link
Contributor

adam2392 commented May 13, 2021

To enable pickling, we basically need to convert proj_vecs in Cython <-> a numpy array or numpy memoryview?I think it would just be a double for loop or something? This is required to enable pickling, since we need to tell the class how to convert things into a readable Python object, and then also how to go from a readable Python object to low-level Cython code.

We have to decide whether it is easier to convert vector[float] -> numpy array of floats or
float * -> numpy array of floats.

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

1 participant