On 12/9/11 11:25 AM, Ng, Enrico wrote:
> I am trying to pass a multi-dimensional ndarray to C as a multi-dimensional C
> array for the purposes of passing it to mathematica. I am using
> PyArray_AsCArray but getting an error.
I understand that SWIG, Boost, et. al are perhaps too heavyweight for
I am trying to pass a multi-dimensional ndarray to C as a multi-dimensional C
array for the purposes of passing it to mathematica. I am using
PyArray_AsCArray but getting an error.
##
Python Code:
import Image
from scipy.misc import fromimage