new_with_constant

Function new_with_constant 

Source
pub fn new_with_constant(
    degree: u32,
    rng: impl CryptoRngCore,
    constant: Scalar,
) -> Poly<Scalar>
Expand description

Returns a new scalar polynomial with a particular value for the constant coefficient.

This does the same thing as new_from otherwise.