RatReconstructPoly |
Syntax |
RatReconstructPoly(f1: RINGELEM, M1: INT): RINGELEM |
Description |
Example |
/**/ RatReconstructPoly(-341269321*x^2 +255951993*y, 1023807973); (10/3)*x^2 +(-1/4)*y /**/ ReadExpr(NewPolyRing(NewRingFp(32003),"x,y"), "(10/3)*x^2 +(-1/4)*y"); 10671*x^2 -8001*y /**/ ReadExpr(NewPolyRing(NewRingFp(31991),"x,y"), "(10/3)*x^2 +(-1/4)*y"); 10667*x^2 -7998*y /**/ CRTPoly(10671*x^2 -8001*y, 32003, 10667*x^2 -7998*y, 31991); record[modulus := 1023807973, residue := -341269321*x^2 +255951993*y] |
See Also |