| 1 | initial version |
Just another suggestion:
L = [random_matrix(ZZ,2,2) for k in range(20)]
def list_of_lists(L,ncol):
return [L[k:k+ncol] for k in range(0,len(L),ncol)]
html.table(list_of_lists(L,5))
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.