I have a matrix of transformations:
[[Transformation([1,2]),Transformation([2,2])],
[Transformation([2,2]),Transformation([2,2])],
[Transformation([1,2]),Transformation([2,1])]]

and I want to replace 

[Transformation([1,2]) by 1;
[Transformation([2,2]) by 2;
[Transformation([2,1]) by 3

obtaining the matrix

[[1,2],
 [2,2],
 [1,3]].

The original matrix might be very big; so is there an automatic way of doing 
this?
I would be very grateful if someone could help me with this. 
Joao
_______________________________________________
Forum mailing list
[email protected]
http://mail.gap-system.org/mailman/listinfo/forum

Reply via email to