Reshape: Difference between revisions

Jump to navigation Jump to search
1 byte removed ,  15:54, 24 October 2019
use template
Miraheze>Marshall
Miraheze>Adám Brudzewsky
(use template)
Line 1: Line 1:
Reshape (<code>⍴</code>) produces an array with [[shape]] given by the left argument and [[elements]] from the right argument. Elements are copied from the right argument to the result in [[ravel order]], truncating if the result has smaller [[bound]] than the right argument and repeating cyclically if it has larger bound. If the right argument is empty, [[Fill element|fills]] are used for the result elements.
{{Primitive|⍴|Reshape}} produces an array with [[shape]] given by the left argument and [[elements]] from the right argument. Elements are copied from the right argument to the result in [[ravel order]], truncating if the result has smaller [[bound]] than the right argument and repeating cyclically if it has larger bound. If the right argument is empty, [[Fill element|fills]] are used for the result elements.


== Examples ==
== Examples ==

Navigation menu