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

Method getRoutine

numpy/linalg/lapack_lite/make_lite.py:133–142  ·  view source on GitHub ↗

Get a routine from the library. Will add if it's not found.

(self, rname)

Source from the content-addressed store, hash-verified

131 self.getRoutine(rname)
132
133 def getRoutine(self, rname):
134 """Get a routine from the library. Will add if it's not found.
135 """
136 unique = []
137 rname = rname.lower()
138 routine = self.names_to_routines.get(rname, unique)
139 if routine is unique:
140 routine = self._findRoutine(rname)
141 self.names_to_routines[rname] = routine
142 return routine
143
144 def allRoutineNames(self):
145 """Return the names of all the routines.

Callers 2

addRoutineMethod · 0.95

Calls 3

_findRoutineMethod · 0.95
lowerMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected