Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

In sage 6.4.rc0, they give just the same for me. Which version of sage are you using ?

sage: var('x,y')
(x, y)
sage: lin = 2 * x - y + 2.0
sage: lin.parent()
Symbolic Ring
sage: lin(x=-11/9, y=-4/9)
0.000000000000000
sage: 2 * (-11/9) - (-4/9) + 2.0
0.000000000000000