Reshape: Difference between revisions

Jump to navigation Jump to search
26 bytes added ,  06:53, 10 June 2020
→‎Notable uses: Point "identity matrix" to Wikipedia
(→‎Notable uses: Point "identity matrix" to Wikipedia)
Line 73: Line 73:
== Notable uses ==
== Notable uses ==


Reshape can be used to produce an [[identity matrix]] by reshaping a vector which is one longer than the desired side length.
Reshape can be used to produce an [[wikipedia:identity matrix|identity matrix]] by reshaping a vector which is one longer than the desired side length.
<source lang=apl>
<source lang=apl>
       4 4 ⍴ 5↑1
       4 4 ⍴ 5↑1
trusted
183

edits

Navigation menu