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

Method _true_mask

numpy/core/tests/test_simd.py:90–92  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 return -(self._int_max() + 1)
89
90 def _true_mask(self):
91 max_unsig = getattr(self.npyv, "setall_u" + self.sfx[1:])(-1)
92 return max_unsig[0]
93
94 def _to_unsigned(self, vector):
95 if isinstance(vector, (list, tuple)):

Callers 3

_dataMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected