MCPcopy Create free account
hub / github.com/numpy/numpy / getWrappedRoutineNames

Function getWrappedRoutineNames

numpy/linalg/lapack_lite/make_lite.py:226–240  ·  view source on GitHub ↗
(wrapped_routines_file)

Source from the content-addressed store, hash-verified

224 return library
225
226def getWrappedRoutineNames(wrapped_routines_file):
227 routines = []
228 ignores = []
229 with open(wrapped_routines_file) as fo:
230 for line in fo:
231 line = line.strip()
232 if not line or line.startswith('#'):
233 continue
234 if line.startswith('IGNORE:'):
235 line = line[7:].strip()
236 ig = line.split()
237 ignores.extend(ig)
238 else:
239 routines.append(line)
240 return routines, ignores
241
242types = {'blas', 'lapack', 'd_lapack', 's_lapack', 'z_lapack', 'c_lapack', 'config'}
243

Callers 1

mainFunction · 0.85

Calls 4

openFunction · 0.85
stripMethod · 0.80
startswithMethod · 0.80
splitMethod · 0.45

Tested by

no test coverage detected