[Cython] access to numpy functions?

Brian Blais <[email protected]>
Newsgroups gmane.comp.python.cython.devel,gmane.comp.python.pyrex
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.