Hi all,

I'm trying to write a Gauss-Seidel function in C++. The function works
however it is too slow because I'm not using any acceleration for the
vector multiplication. I'm not really sure how to access the dot function
in my extension, nor what all the arguments are for.

Is this the right function to use (found in ndarrayobject.h):

typedef void (PyArray_DotFunc)(void *, npy_intp, void *, npy_intp, void *,
                               npy_intp, void *);

I guess the voids are array objects, the two to be dotted and the output.
What's the fourth?

Thanks all!
Cheers
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to