| 1 | initial version |
You sould double the braces as follows:
v = {(i,j): var("v_{}{}".format(i, j), latex_name="v_{{{}{}}}".format(i, j)) for i in range(2) for j in range(2)}
| 2 | No.2 Revision |
You sould use double the braces as follows:
v = {(i,j): var("v_{}{}".format(i, j), latex_name="v_{{{}{}}}".format(i, j)) for i in range(2) for j in range(2)}
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.