NumPy does not have a double** anywhere, what you did is the correct solution
(as long as you make sure the array is C-contiguous).
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
"Adrian MartÃnez Vargas" wrote:
Hi, I would like to get a double** from a 2d numpy array i
Hi,
I would like to get a double** from a 2d numpy array in cython in order
to call properly some function written in C++. Can some one to give a
pure cython solution?
From now I have a double* from the np.ndarray[double, ndim=2] .data.
I'm getting the double array in C++ with:
array2D