Lines Matching refs:rslices
369 def m_assign(llst, rlst, lslices, rslices): argument
386 rlst = [m_assign(l, r, lslices[1:], rslices[1:])
387 for l, r in zip(llst[lslices[0]], rlst[rslices[0]])]
391 def cmp_structure(llst, rlst, lslices, rslices): argument
394 rshape = slice_shape(rlst, rslices)
404 def multislice_assign(llst, rlst, lslices, rslices): argument
406 if cmp_structure(llst, rlst, lslices, rslices) < 0:
408 return m_assign(llst, rlst, lslices, rslices)
567 rslices = [0] * ndim
572 rslices[n] = randslice_from_slicelen(slicelen, l)
573 return tuple(lslices), tuple(rslices)
588 lslices = [0]*ndim; rslices = [0]*ndim
611 rslices[n], lslices[n] = s_big, s_small
614 rslices[n], lslices[n] = s_small, s_big
616 return lshape, rshape, tuple(lslices), tuple(rslices)
710 def rslices(n, allow_empty=False): function
758 genslices = rslices
1852 lslices, rslices = randslice_from_shape(ndim, shape)
1860 result = multislice_assign(lst, lst, lslices, rslices)
1866 nd[lslices] = nd[rslices]
1950 lshape, rshape, lslices, rslices = \
1961 xl[lslices] = xr[rslices]
1974 yl[lslices] = yr[rslices]
1991 zl[lslices] = zr[rslices]