On Tue, 05 Nov 2013 23:22:37 +0500, Robert Kern wrote:numpy is not a C library. It is a Python extension module. You can use its C API from other Python extension modules, not C main programs. You have not started a Python interpreter or imported the numpy module. Only then will the numpy API be
On Tue, 05 Nov 2013 23:20:45 +0500, Jaime Fernández del Río wrote:On Tue, Nov 5, 2013 at 10:10 AM, Sergey Petrov <qweqwe...@yahoo.com> wrote:
Rather stupid question here, but I can't figure out by myself:
Why does the following c program segfaults? And how can I avoid it?You n
Rather stupid question here, but I can't figure out by myself:
Why does the following c program segfaults? And how can I avoid it?
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
#include
#include
int main(int argc, char *argv[])
{
int nd=1;
npy_intp dims[] = {3};
npy_intp data[] =