[CM] mat-trans (was: Pest Question?)

Torsten Anders t.anders@nici.kun.nl
Thu, 13 Jun 2002 22:02:41 +0200


On Thursday 13 June 2002 18:33, you wrote:
>some of your code depends on functinos i dont have:
>     utils::mat-trans
>
> what is that? 

Sorry for leaving that out. The idea (and name) for mat-trans comes from 
PatchWork:


(defun mat-trans (in-list)
  "Quasi a matrix transformations: transforms a list of form ((a1 a2 a3) (b1 
b2 b3) (c1 c2 c3) ...) into ((a1 b1 c1 ...) (a2 b2 c2 ...) (a3 b3 c3 ...))."
  (apply #'mapcar #'(lambda (&rest all)
		      all) 
	 in-list))


Additional examples and URLs for gnuplot ports I'll send soon.

Regards,
Torsten