Open japaric opened 9 years ago
This let us go from
A.slice_mut((a..b, c..d)).set(B.slice((e..f, g..h))); A.row_mut(0).set(1.); A.col_mut(1).set(0.)
to
A[(a..b, c..d)] = B.slice((e..f, g..h)); A[0] = 1.; A[(.., 1)] = 0;
The same thing in Python/NumPy for reference:
A[a:b, c:d] = B[e:f, g:h] A[0] = 1 A[:, 1] = 0
Blocked on rust-lang/rust#25628
This let us go from
to
The same thing in Python/NumPy for reference:
Blocked on rust-lang/rust#25628