Skip to content

Implemented Zp-instancing in MATLAB-way#2

Open
DmitriyKorchemkin wants to merge 1 commit into
PavelTrutman:releasefrom
DmitriyKorchemkin:native-MATLAB-Zp-instancing
Open

Implemented Zp-instancing in MATLAB-way#2
DmitriyKorchemkin wants to merge 1 commit into
PavelTrutman:releasefrom
DmitriyKorchemkin:native-MATLAB-Zp-instancing

Conversation

@DmitriyKorchemkin

Copy link
Copy Markdown

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

prclibo commented Jan 11, 2019

Copy link
Copy Markdown

@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