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

Method __mod__

numpy/polynomial/_polybase.py:572–576  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

570 return res[0]
571
572 def __mod__(self, other):
573 res = self.__divmod__(other)
574 if res is NotImplemented:
575 return res
576 return res[1]
577
578 def __divmod__(self, other):
579 othercoef = self._get_coefficients(other)

Callers

nothing calls this directly

Calls 1

__divmod__Method · 0.95

Tested by

no test coverage detected