Sage 4.3.2 Release Tour
Major features
- much improved interface to Singular which makes using any Singular function much more efficient and easy (cf. Libraries section below)
Libraries
- much improved interface to Singular which makes using any Singular function much more efficient and easy #7939
Toggle line numbers
1 sage: P.<x,y,z> = QQ[];
2 sage: A = Matrix(ZZ,[[1,1,0],[0,1,1]])
3 sage: toric_ideal = sage.libs.singular.ff.toric__lib.toric_ideal # we load the function
4 sage: toric_ideal(A,"du") # the integer matrix does not tell us which ring we want
5 Traceback (most recent call last)
6 ...
7 ValueError: Could not detect ring.
8
9 sage: toric_ideal(A,"du",ring=P) # so we try again
10 [x*z - y]