Intro to research based coding in Sage
Create the combinatorial class of 3x3 alternating sign matrices
Use a for
loop to display all the 3x3 alternating sign matrices
unrank(28)
gives us the 28th (starting at 0) alternating sign matrix in A4
Put ? after a function to see the documentation. Put ?? after a function to see the documentation and code.
In the below block, put your cursor at the end and hit tab to see what alternating sign matrix methods start with 'to'
Construct the lattice of 4x4 alternating sign matrices
Construct the same poset using the tetrahedral poset code, then test it is isomorphic to our previous construction
Construct the TSSCPP tetrahedral poset
1
201/200
Error in lines 1-1
Traceback (most recent call last):
File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 976, in execute
exec compile(block+'\n', '', 'single') in namespace, locals
File "", line 1, in <module>
File "/projects/sage/sage-7.3/local/lib/python2.7/site-packages/sage/categories/infinite_enumerated_sets.py", line 62, in random_element
raise NotImplementedError("infinite set")
NotImplementedError: infinite set