Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- import numpy.f2py as f2py
- fid = open( 'K.f90')
- source = fid.read()
- fid.close()
- f2py.compile( source , modulename = 'forMatMul')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement