Skip to content

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

Description

@adam2392

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions