xxxxxxxxxx
def _(N=(2,7,1)):
a=''.join(list('A_%d%d '%(i,j)
for i in [1..N] for j in [1..N]))
A=Matrix(SR,N,N,var(a))
S='<center><font color=%s>$%s$</font></center>'
c=[Color(colormaps.cool(40*i)[:3]).html_color()
for i in range(2,8,1)]
pretty_print(html(S%(c[N-2],latex(A))))
No comments:
Post a Comment