[Cython] access to numpy functions?
Brian Blais
bblais at gmail.com
Thu May 1 15:32:33 CEST 2008
Hello,
I have been using Pyrex/Cython for a couple years now, interfacing
with the numpy ndarray objects. I was wondering recently if there is
direct access to some of the functions of numpy, like dot products,
addition and subtraction, etc... without going through the python
API? If I have two objects in Cython/Pyrex, like:
c_numpy.ndarray x,y
and I want to do a dot product, or add the two arrays, is there
access to the numpy C-version of this? I know I could write my own
for the dot product, but I'd rather not reinvent the wheel when
possible.
thanks,
Brian Blais
More information about the Cython-dev
mailing list