Skip to content

Instantly share code, notes, and snippets.

@jskDr jskDr/scix_c.pyx
Created May 24, 2014

What would you like to do?
This code shows how to use functions of C libraries.
# Use C library, which is log() in math.h
cdef extern from "math.h":
double log(double x)
def kmc( float x):
cdef float t
t = log( x)
return t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.