#J, (削除) 31 (削除ここまで)(削除) 30 (削除ここまで)(削除) 14 (削除ここまで)(削除) 12 (削除ここまで) 11 bytes
J, (削除) 31 (削除ここまで)(削除) 30 (削除ここまで)(削除) 14 (削除ここまで)(削除) 12 (削除ここまで) 11 bytes
[:;<@|.`</.
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (raze).
#J, (削除) 31 (削除ここまで)(削除) 30 (削除ここまで)(削除) 14 (削除ここまで)(削除) 12 (削除ここまで) 11 bytes
[:;<@|.`</.
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (raze).
J, (削除) 31 (削除ここまで)(削除) 30 (削除ここまで)(削除) 14 (削除ここまで)(削除) 12 (削除ここまで) 11 bytes
[:;<@|.`</.
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (raze).
#J, (削除) 31 (削除ここまで) (削除) 30 (削除ここまで) (削除) 14 (削除ここまで) (削除) 12 (削除ここまで) 11 bytes
[:;<@|.`</.
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (linkraze).
#J, (削除) 31 (削除ここまで) (削除) 30 (削除ここまで) (削除) 14 (削除ここまで) (削除) 12 (削除ここまで) 11 bytes
[:;<@|.`</.
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (link).
#J, (削除) 31 (削除ここまで) (削除) 30 (削除ここまで) (削除) 14 (削除ここまで) (削除) 12 (削除ここまで) 11 bytes
[:;<@|.`</.
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (raze).
#J, (削除) 31 (削除ここまで) (削除) 30 (削除ここまで) (削除) 14 (削除ここまで) 12(削除) 12 (削除ここまで) 11 bytes
;@(<@|[:;<@|.`</.)
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (link).
#J, (削除) 31 (削除ここまで) (削除) 30 (削除ここまで) (削除) 14 (削除ここまで) 12 bytes
;@(<@|.`</.)
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (link).
#J, (削除) 31 (削除ここまで) (削除) 30 (削除ここまで) (削除) 14 (削除ここまで) (削除) 12 (削除ここまで) 11 bytes
[:;<@|.`</.
(削除) Ych. Too big. (削除ここまで)
Takes a matrix as input.
Explanation
J has an advantage here. There's a command called oblique (/.) which takes the oblique lines in turn and applies a verb to them. In this case I'm using a gerund to apply two verbs alternately: < (box) and <@|. (reverse and box). Then it's just a matter of unboxing everything using ; (link).