Skip to content

Instantly share code, notes, and snippets.

@kevinronan
kevinronan / numpy2double**.md
Last active January 12, 2023 06:43
Call a function with a double** in Cython, Pybind11, and CFFI from numpy

Cython

populate_.h

#ifndef PROGRAM_HEADER
#define PROGRAM_HEADER

void populate(double ** arr, int len_x, int len_y);