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

Function _get_gamma_mask

numpy/lib/function_base.py:4665–4668  ·  view source on GitHub ↗
(shape, default_value, conditioned_value, where)

Source from the content-addressed store, hash-verified

4663
4664
4665def _get_gamma_mask(shape, default_value, conditioned_value, where):
4666 out = np.full(shape, default_value)
4667 np.copyto(out, conditioned_value, where=where, casting="unsafe")
4668 return out
4669
4670
4671def _discret_interpolation_to_boundaries(index, gamma_condition_fun):

Callers 2

function_base.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected