There is an AffineHypersurface construction: sage: A3Q.<X,Y,Z> = AffineSpace(QQ,3) sage: f = X^2- Y^2*Z^2+ Z^3 sage: H = AffineHypersurface(f) sage: H Affine hypersurface defined by -Y^2*Z^2 + Z^3 + X^2 in Affine Space of dimension 3 over Rational Field
but there is very little functionality about what to do with such a thing currently implemented in Sage: no plotting (but see Volker's solution for that), you can do H.rational_points(bound=3) but it is slow. John On 2 April 2013 09:32, Neda <[email protected]> wrote: > Hi Is there any commands for writing affine variety (Let k be a field, and > let f1,...,fs be polynomials in k[ x1,...,xn]. Then we set V(f1,...,fs)= { > (a1,...,an) ? k^n : fi (a1,...,an)=0 for all 1 ?i?s } we call V(f1,...,fs) > the affine variety defined by f1,...,fs ) ? > > Also how can I drew an affine variety plane such as V(x^2- y^2*z^2+ z^3) ? > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-support?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
