Hey Dan,
   The reason why you're getting the symbolic ring error is because you are 
saying the matrix should have coeff in SR (the symbolic ring) but the 
matrix coeff you've specified are in the power series ring. So it should 
work if you change SR to S in the M = matrix(...) line (I suspect this is a 
typo). IMO one thing that will make it easier to code/read:

sage: R1 = FractionField(QQ['t'])
sage: t = R1.gen(0) # and use t

and instead of doing S.base_ring().gen(...), use R.gen(...) since 
S.base_ring() is R.

Pfaffians are in sage:

sage: M = matrix([[0,2],[-2,0]])
sage: M.pfaffian()
2

A side question from me, should we have a function/method for computing 
Vandermonde's?

Best,
Travis

-- 
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 post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to