0
Makes a rank-3 tensor a shifted identity tensor, \( A_{ijk} = 1 \mathrm{\; if\;} (i * \mathrm{dim}(2) + j + \mathrm{\; offset \;}) \equiv k \mathrm{\; else \;} 0 \).
References syten::DenseTensor< rank, Scalar >::dim(), and makeZero().
This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.