Reshape: Difference between revisions
Jump to navigation
Jump to search
use template
Miraheze>Marshall |
Miraheze>Adám Brudzewsky (use template) |
||
Line 1: | Line 1: | ||
Reshape | {{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 == |