Skip to content

Instantly share code, notes, and snippets.

@jskDr jskDr/mathx.pyx Secret
Last active Aug 29, 2015

What would you like to do?
Mathematical codes written in Cython
# Define a mathematical function with type definitions
def inverse(float x):
cdef float y
y = 1.0 / x
return y
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.