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

Method __call__

numpy/polynomial/_polybase.py:510–513  ·  view source on GitHub ↗
(self, arg)

Source from the content-addressed store, hash-verified

508 # Call
509
510 def __call__(self, arg):
511 off, scl = pu.mapparms(self.domain, self.window)
512 arg = off + scl*arg
513 return self._val(arg, self.coef)
514
515 def __iter__(self):
516 return iter(self.coef)

Callers

nothing calls this directly

Calls 2

_valMethod · 0.95
mapparmsMethod · 0.80

Tested by

no test coverage detected