Matrix transposition: Difference between revisions

→‎{{header|Scheme}}: apparently, apply is variadic
(Added TI-83 BASIC example)
(→‎{{header|Scheme}}: apparently, apply is variadic)
Line 281:
=={{header|Scheme}}==
(define (transpose m)
(apply map (cons list m)))
 
=={{header|TI-83 BASIC}}==
Assuming the original matrix is in <tt>[A]</tt>, place its transpose in <tt>[B]</tt>:
Anonymous user