Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise initialization of generic algebraic curves #20698

Closed
sagetrac-gjorgenson mannequin opened this issue May 28, 2016 · 15 comments
Closed

Revise initialization of generic algebraic curves #20698

sagetrac-gjorgenson mannequin opened this issue May 28, 2016 · 15 comments

Comments

@sagetrac-gjorgenson
Copy link
Mannequin

sagetrac-gjorgenson mannequin commented May 28, 2016

Revise the Curve function used for initializing generic algebraic curves to allow passing an ambient space in which to construct the curve. Also modify how the curve function works when passing in a subscheme so the ambient space of that subscheme is used instead of creating a new one.

Additionally, implement curve functions for affine/projective space for initializing curves in those ambient spaces.

CC: @bhutz @miguelmarco

Component: algebraic geometry

Keywords: gsoc2016

Author: Grayson Jorgenson

Branch: d4eb8d4

Reviewer: Ben Hutz

Issue created by migration from https://trac.sagemath.org/ticket/20698

@sagetrac-gjorgenson sagetrac-gjorgenson mannequin added this to the sage-7.3 milestone May 28, 2016
@sagetrac-gjorgenson
Copy link
Mannequin Author

sagetrac-gjorgenson mannequin commented May 28, 2016

Branch: u/gjorgenson/ticket/20698

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 28, 2016

Commit: 9cbdab3

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 28, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

9cbdab320698: revised initialization of generic curves.

@bhutz
Copy link

bhutz commented May 28, 2016

comment:4

Just a couple things here:

In the docs

  • doc build error
OSError: [plane_cur] /home/ben/sage/sage-dev/local/lib/python2.7/site-packages/sage/schemes/plane_curves/constructor.py:docstring of sage.schemes.plane_curves.constructor.Curve:16: ERROR: Unexpected indentation.
  • also variables names should be in double quote, single quote are for math type setting

also some issues with the error messsages

  • Your raise is failing
A.<x,y,z> = ProjectiveSpace(QQ,2)
X=A.subscheme([x^3 + y^3 + z^3,x-y])
C = Curve(X);C
  • the line wrap messed up the spacing
A.<x,y,z> = AffineSpace(QQ,3)
A2.<u,v,w,t>=AffineSpace(QQ,4)
C = Curve(x^3 + y^3 + z^3,A2);C

I didn't encounter any functionality issues.

@bhutz
Copy link

bhutz commented May 28, 2016

Reviewer: Ben Hutz

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 28, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

b718afa20698: documentation and error formatting fixes.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 28, 2016

Changed commit from 9cbdab3 to b718afa

@sagetrac-gjorgenson
Copy link
Mannequin Author

sagetrac-gjorgenson mannequin commented May 28, 2016

comment:6

Thanks, the issues should be resolved now.

@bhutz
Copy link

bhutz commented May 28, 2016

comment:7

well, the docs compile, but the formatting isn't right.

  • affine_space/curve
  • projective_space/curve
  • constructor/curve

take a look at the inputs.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 29, 2016

Branch pushed to git repo; I updated commit sha1. New commits:

d4eb8d420698: documentation spacing fixes.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 29, 2016

Changed commit from b718afa to d4eb8d4

@sagetrac-gjorgenson
Copy link
Mannequin Author

sagetrac-gjorgenson mannequin commented May 29, 2016

comment:9

Oops, sorry. I changed the spacing and indentation, and the docs look better now.

@vbraun
Copy link
Member

vbraun commented May 31, 2016

Changed branch from u/gjorgenson/ticket/20698 to d4eb8d4

@bhutz
Copy link

bhutz commented Jun 2, 2016

Changed keywords from none to gsoc2016

@bhutz
Copy link

bhutz commented Jun 2, 2016

Changed commit from d4eb8d4 to none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants