pub fn lagrange_interpolation_at_point<F>(point: &F::E, points: &[F::E], values: &[F::E], field: &F) -> F::E
where F: Field, F::E: Clone
{
    assert_eq!(points.len(), values.len());
    let constants = LagrangeConstants::compute(point, points, field);
    constants.interpolate(values, field)
}
/// Performs Lagrange interpolation at the specified point,
/// for a polynomial defined by `points` and `values`.
///
/// `points` and `values` are expected to be two arrays of the same size, containing
/// respectively the evaluation points (x) and the value of the polynomial at those point (p(x)).
Performs Lagrange interpolation at the specified point,
for a polynomial defined by `points` and `values`.

`points` and `values` are expected to be two arrays of the same size, containing
respectively the evaluation points (x) and the value of the polynomial at those point (p(x)).
Performs Lagrange interpolation at the specified point for a polynomial defined by ` points ` and ` values ` . ` points ` and ` values ` are expected to be two arrays of the same size containing respectively the evaluation points ( x ) and the value of the polynomial at those point ( p ( x )) .
pub fn lagrange_interpolation_at_point<F>(point: &F::E, points: &[F::E], values: &[F::E], field: &F) -> F::E
where F: Field, F::E: Clone
{
    assert_eq!(points.len(), values.len());
    let constants = LagrangeConstants::compute(point, points, field);
    constants.interpolate(values, field)
}
pub fn lagrange_interpolation_at_point < F > ( point : & F :: E , points : & [ F :: E ] , values : & [ F :: E ] , field : & F ) -> F :: E where F : Field , F :: E : Clone { assert_eq ! ( points len ( ) values len ( ) ) ; let constants = LagrangeConstants :: compute ( point , points , field ) ; constants . interpolate ( values , field ) }
Performs Lagrange interpolation at the specified point,
for a polynomial defined by `points` and `values`.
Performs Lagrange interpolation at the specified point for a polynomial defined by ` points ` and ` values ` .
point
&F::E
points
&[F::E]
values
&[F::E]
field
&F