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

Implemented Zp-instancing in MATLAB-way #2

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

Conversation

DmitriyKorchemkin
Copy link

Replaced EquationModulus with corresponding calls to MATLAB functions.

On MATLAB R2017a/R2015b (linux) this patch makes preparation of Macaulay2 input significantly (50x+) times faster.

@prclibo
Copy link

prclibo commented Jan 11, 2019

@DmitriyKorchemkin 👍 for this patch. I was just now writing the same patch before I met this pull request.

The origin instance generator is slow and also has a bug. I met some cases in which coefficients evaluated numerically (the original generator) and symbolically (this patch) are slightly different. I guess this is due to the numerical overflow for large coefficients. Using symbolic computation should be safer.

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

Successfully merging this pull request may close these issues.

2 participants