Closed UndeadRat22 closed 3 years ago
Thank you for the patch. Do you need evaluatePolynomial and LagrangeInterpolation?
Thank you for the patch. Do you need evaluatePolynomial and LagrangeInterpolation?
Yeah, I think I will need those later on. I will create more PRs once I get to that point :).
Okay, I'll append them later. By the way, could you tell me what do you use them if possible?
I'm working on a KZG10 library in c#. After that's done I will move on to write an optimized version in rust. Will most likely use MCL there as well :).
I've added Fr/G1/G2 Share and Recover method. cf. https://github.com/herumi/mcl/blob/master/ffi/cs/test/test.cs#L289
Added some missing external functions, static factory for commonly used values, like
Fr.One();
. Also some overloads of arithmetic operators on G1.