Dear GAP Forum, On 11 Jun 2007, at 14:45, muniru asiru wrote:
I need help. While working with Gap, I came accross the following list of list of list with 10,3 and 7 items respectively. My interest is to REPLACE (please note) this list of list of list (a5, below) with a list of list so that I will have 30 elements made up of 7 elements in each list of list. Thank you
A straightforward suggestion would be to use 'Concatenation': gap> a5 := Concatenation( a5 );; gap> Length( a5 ); 30 gap> ForAll( a5, x -> Length(x) = 7 ); true Best, Alexander _______________________________________________ Forum mailing list [email protected] http://mail.gap-system.org/mailman/listinfo/forum
