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

Method __truediv__

numpy/f2py/symbolic.py:538–544  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

536 return NotImplemented
537
538 def __truediv__(self, other):
539 other = as_expr(other)
540 if isinstance(other, Expr):
541 # Fortran / is different from Python /:
542 # - `/` is a truncate operation for integer operands
543 return normalize(as_apply(ArithOp.DIV, self, other))
544 return NotImplemented
545
546 def __rtruediv__(self, other):
547 other = as_expr(other)

Callers 1

polyintFunction · 0.45

Calls 3

as_exprFunction · 0.85
normalizeFunction · 0.85
as_applyFunction · 0.85

Tested by

no test coverage detected