What if we instead just make a ScalarVec and PointVec types that had poly_eval function which treats them as the coefficients of a polynomial.
Ok better yet why not just make extension traits for Vec<Point> and Vec<Scalar>?
@nickfarrow thoughts?
UPDATE
I decided to just trash both these types and provide helper methods in the frost module. This is simpler. Maybe one day we want to provide some tools for dealing with vectors/polynomials of points/scalars but not today!
II'm still thinking about this a bit.
What if we instead just make a
ScalarVec
andPointVec
types that hadpoly_eval
function which treats them as the coefficients of a polynomial.Ok better yet why not just make extension traits for
Vec<Point>
andVec<Scalar>
?@nickfarrow thoughts?
UPDATE
I decided to just trash both these types and provide helper methods in the
frost
module. This is simpler. Maybe one day we want to provide some tools for dealing with vectors/polynomials of points/scalars but not today!