Created
May 1, 2014 17:38
-
-
Save MechCoder/0cf4b7a55e1ac6d6c900 to your computer and use it in GitHub Desktop.
hello.pyx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from libc.math cimport fabs, sqrt | |
cimport cython | |
cdef extern from "cblas.h": | |
void daxpy "cblas_daxpy"(int N, double alpha, double *X, int incX, | |
double *Y, int incY) | |
def b(int x): | |
print x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment