Hi Thomas
2008/5/15 Thomas Hrabe <[EMAIL PROTECTED]>:
> PyArray_FromDimsAndData(dimensions,size,NPY_DOUBLELTR,(char*)value);
> //TROUBLE HERE
I didn't know a person could write a stand-alone program using NumPy
this way (can you?); but what I do know is that FromDimsAndData is
deprecated, and th
On Wed, May 14, 2008 at 5:42 PM, Thomas Hrabe <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> the PyArray_FromDimsAndData is still cousing me headaches.
>
> Is there anybody out there finding the error of the following code?
>
> #include "Python.h"
> #include
> int main(int argc,char** argv)
> {
>
>
Hi all,
the PyArray_FromDimsAndData is still cousing me headaches.
Is there anybody out there finding the error of the following code?
#include "Python.h"
#include
int main(int argc,char** argv)
{
int dimensions = 2;
void* value = malloc(sizeof(double)*100);
int* si