[−][src]Trait concrete_lib::npe::rlwe::RLWE
Associated Types
type STorus
Required methods
fn scalar_polynomial_mult(variance: f64, scalar_polynomial: &[Self]) -> f64
Implementations on Foreign Types
impl RLWE for u32
[src]
type STorus = <u32 as Types>::STorus
fn scalar_polynomial_mult(variance: f64, scalar_polynomial: &[Self]) -> f64
[src]
Computes the variance of the error distribution after a multiplication between a RLWE sample and a scalar polynomial sigma_out^2 <- \Sum_i weight_i^2 * sigma^2 Arguments
variance
- the error variance in each slot of the input ciphertextscalar_polynomial
- a slice of Torus with the input weights Output- the error variance for each slot of the output ciphertext
impl RLWE for u64
[src]
type STorus = <u64 as Types>::STorus
fn scalar_polynomial_mult(variance: f64, scalar_polynomial: &[Self]) -> f64
[src]
Computes the variance of the error distribution after a multiplication between a RLWE sample and a scalar polynomial sigma_out^2 <- \Sum_i weight_i^2 * sigma^2 Arguments
variance
- the error variance in each slot of the input ciphertextscalar_polynomial
- a slice of Torus with the input weights Output- the error variance for each slot of the output ciphertext