Bodhisattva Debnath <bd32@cornell.edu> wrote:
+---------------
| Can someone tell me a one line program to find the transpose
| of a matrix using apply, map, cons, list.
+---------------
The newsgroup comp.lang.lisp just had a long thread on this very subject.
It probably hasn't even expired yet (but even if it has, DejaNews is
your friend).
Note that while there *is* a clever/cutesy "one-liner" transpose for
matrices represented as lists of lists, that representation is almost
certainly too slow for any practical application...
-Rob
-----
Rob Warnock, 8L-846 rpw3@sgi.com
Applied Networking http://reality.sgi.com/rpw3/
Silicon Graphics, Inc. Phone: 650-933-1673
1600 Amphitheatre Pkwy. FAX: 650-933-0511
Mountain View, CA 94043 PP-ASEL-IA