I'm trying to generate a function that produces King tableaux. My idea is 
to first generate Semi-standard tableaux and then select the ones that obey 
the conditions of a King tableaux. I'm thinking of the entries i and -i for 
i=1,....,n as entries 1,....,2n. So, basically I want the rows to be weakly 
increasing and the columns to be strictly increasing like 1<3<5<.....<2n-1. 
The following is what I have so far, it simply generates semistandard 
tableaux.

def generate_kingTableaux(size,max_entry_val,to_generate):
....:      v=[ ]
....:      for k in range(to_generate):
....:        
 v.append(SemistandardTableaux(size,max_entry=max_entry_val).list())
....:      return v

I want to implement a condition which is somewhat like: if v[i][1] < 2i-1 
then not a king tableaux; else i=i+1.
I'm not sure how to implement this in sage. I would really appreciate if 
someone could guide/help me!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-combinat-devel/fe286e2c-7a79-4a90-a251-1f6e200d48ac%40googlegroups.com.

Reply via email to