MaskIndicesΒΆ

Return indices of a mask of an (n, n) array.

Abstract Signature:

MaskIndices(n: int, mask_func: Callable, k: int = 0)

JAX (Core)

API: jax.numpy.mask_indices
Strategy: Direct Mapping

NumPy

API: numpy.mask_indices
Strategy: Direct Mapping