Feature #374
Porting "IdealOfProjectivePoints"
Status:
Closed
Priority:
Immediate
Assignee:
Category:
New Function
Target version:
Description
port also IdealOfProjectivePoints
Related issues
History
#1 Updated by Anna Maria Bigatti almost 11 years ago
requested by Marie Ermete and Susan Cooper
#2 Updated by Anna Maria Bigatti almost 11 years ago
- Category set to New Function
- Assignee set to John Abbott
- Target version set to CoCoA-5.1.0 Easter14
I know this is not pretty, but for the time being there is this workaround (if you can put your points in an affine space)
/**/ Use R ::= QQ[x,y,z]; /**/ AffPolyRing := NewPolyRing(QQ, first(IndetSymbols(R),2)); /**/ phi := PolyAlgebraHom(AffPolyRing, R, first(indets(R),2)); /**/ Pts := [[0,0,1],[1/2,1,1],[0,1,2]]; /**/ AffPts := [ [P[1]/P[3], P[2]/P[3]] | P In Pts]; /**/ AffI := IdealOfPoints(AffPolyRing, Mat(AffPts)); /**/ I := ideal([homog(phi(F), last(indets(R))) | F in gens(AffI)]); /**/ I; ideal(y^2 -x*z +(-1/2)*y*z, x*y -x*z, x^2 +(-1/2)*x*z)
#3 Updated by Anna Maria Bigatti about 10 years ago
- Target version changed from CoCoA-5.1.0 Easter14 to CoCoALib-0.99532
#4 Updated by Anna Maria Bigatti about 10 years ago
- Target version changed from CoCoALib-0.99532 to CoCoALib-0.99533 Easter14
#5 Updated by John Abbott about 10 years ago
- Target version changed from CoCoALib-0.99533 Easter14 to CoCoALib-0.99534 Seoul14
#6 Updated by John Abbott almost 10 years ago
- Target version changed from CoCoALib-0.99534 Seoul14 to CoCoALib-1.0
#7 Updated by Anna Maria Bigatti over 7 years ago
- Related to Feature #960: New function: IdealAndSeparatorsOfPoints added
#8 Updated by John Abbott over 5 years ago
- Status changed from New to In Progress
- Priority changed from Normal to Immediate
- Target version changed from CoCoALib-1.0 to CoCoALib-0.99600
- % Done changed from 0 to 50
Anna has done the work, but it gives obviously wrong result (not homog).
Here is a failing example:
use P ::= QQ[x,y,z]; L := [[1,1,2],[1,2,4]]; I := IdealOfProjectivePoints(P, mat(L)); ideal(y +(-1/2)*z, x^2 +(-3/4)*x +(1/8)*z) --> result is not homog
The result is "almost right": the coeffs are correct, but the PPs are wrong. I compared with C-4.7.6.
Correct answer is:
ideal(y +(-1/2)*z, x^2 +(-3/4)*x*z +(1/8)*z^2)
Note that non leading PPs of the second poly are missing a factor of z!
#9 Updated by Anna Maria Bigatti over 5 years ago
fixed bug: now result is homog
#10 Updated by John Abbott about 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 50 to 100
- Estimated time set to 1.99 h
There was just one test. I have just tried it, and it worked. So closing.
#11 Updated by Anna Maria Bigatti about 4 years ago
- Related to Bug #1416: IdealOfProjectivePoints and MinGens added