On Mon, Feb 22, 2010 at 4:43 PM, zieglerk <[email protected]> wrote:
> Is it true, that
>
> R.<x,y> = QQ[]
>
> is equivalent to
>
> var('x,y')
> R = PolynomialRing(QQ, 'x,y')
> x,y = R.gens()
>
> I would not know, how to find the documentation for the first command.

You can use preparse to show what really gets executed:

sage: preparse('R.<x,y> = QQ[]')
"R = QQ['x, y']; (x, y,) = R._first_ngens(2)"

--Mike

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to