On 7 Nov 2003, adrian(a)xemacs.org wrote:
>>>>> "Uwe" == Uwe Brauer
<oub(a)mat.ucm.es> writes:
Uwe> Hello I would like to transpose columns in matrix like
Uwe> construct like this
Uwe> 1 2 2 1 1 2 --> 2 1 1 2 2 1
Hi Uwe, you got me hooked.
Try these and report back.
Good Luck,
Adrian
Hi Adrian,
Thanks very much for this.
I would never have came up with something like this
It works like charm, two comments however:
- May be the docstring should be modified, including
something like this:
(defun apa-transpose-rectangles (start1 end1 start2 end2)
"Transpose two rectangles (or columns) of equal geometry
(dimension) in a buffer. Mark the first rectangle (column),
execute the function and follow the instructions......
- is there any possibility to mark columns on the fly? (I just
noted the other comment to my question referring to calc. So
may be this is the way to go)
Thanks
Uwe