internal NpyIndexes Bind(ndarray arr) { NpyIndexes result = new NpyIndexes(); int n = NpyCoreApi.BindIndex(arr, this, result); if (n < 0) { NpyCoreApi.CheckError(); } else { result.num_indexes = n; } return(result); }