12.07.2015 Views

Sage Reference Manual: Elliptic and Plane Curves - Mirrors

Sage Reference Manual: Elliptic and Plane Curves - Mirrors

Sage Reference Manual: Elliptic and Plane Curves - Mirrors

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Sage</strong> <strong>Reference</strong> <strong>Manual</strong>: <strong>Elliptic</strong> <strong>and</strong> <strong>Plane</strong> <strong>Curves</strong>, Release 6.1.1sage: E = <strong>Elliptic</strong>Curve(RR,[1,2]); E; E.base_field()<strong>Elliptic</strong> Curve defined by y^2 = x^3 + 1.00000000000000*x + 2.00000000000000 over Real Field withReal Field with 53 bits of precisionsage: <strong>Elliptic</strong>Curve(CC,[3,4]); E; E.base_field()<strong>Elliptic</strong> Curve defined by y^2 = x^3 + 3.00000000000000*x + 4.00000000000000 over Complex Field w<strong>Elliptic</strong> Curve defined by y^2 = x^3 + 1.00000000000000*x + 2.00000000000000 over Real Field withReal Field with 53 bits of precisionsage: E = <strong>Elliptic</strong>Curve(QQbar,[5,6]); E; E.base_field()<strong>Elliptic</strong> Curve defined by y^2 = x^3 + 5*x + 6 over Algebraic FieldAlgebraic FieldSee trac ticket #6657sage: <strong>Elliptic</strong>Curve(3,j=1728)Traceback (most recent call last):...ValueError: First parameter (if present) must be a ring when j is specifiedsage: <strong>Elliptic</strong>Curve(GF(5),j=3/5)Traceback (most recent call last):...ValueError: First parameter must be a ring containing 3/5If the universe of the coefficients is a general field, the object constructed has type <strong>Elliptic</strong>Curve_field. Otherwiseit is <strong>Elliptic</strong>Curve_generic. See trac ticket #9816sage: E = <strong>Elliptic</strong>Curve([QQbar(1),3]); E<strong>Elliptic</strong> Curve defined by y^2 = x^3 + x + 3 over Algebraic Fieldsage: type(E)sage: E = <strong>Elliptic</strong>Curve([RR(1),3]); E<strong>Elliptic</strong> Curve defined by y^2 = x^3 + 1.00000000000000*x + 3.00000000000000 over Real Field withsage: type(E)sage: E = <strong>Elliptic</strong>Curve([i,i]); E<strong>Elliptic</strong> Curve defined by y^2 = x^3 + I*x + I over Symbolic Ringsage: type(E)sage: E.category()Category of schemes over Symbolic Ringsage: SR in Fields()Truesage: F = FractionField(PolynomialRing(QQ,’t’))sage: t = F.gen()sage: E = <strong>Elliptic</strong>Curve([t,0]); E<strong>Elliptic</strong> Curve defined by y^2 = x^3 + t*x over Fraction Field of Univariate Polynomial Ring in tsage: type(E)sage: E.category()Category of schemes over Fraction Field of Univariate Polynomial Ring in t over Rational FieldSee trac ticket #12517:sage: E = <strong>Elliptic</strong>Curve([1..5])sage: <strong>Elliptic</strong>Curve(E.a_invariants())<strong>Elliptic</strong> Curve defined by y^2 + x*y + 3*y = x^3 + 2*x^2 + 4*x + 5 over Rational Field44 Chapter 10. <strong>Elliptic</strong> curve constructor

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!