Trait concrete_npe::rlwe::RLWE [−][src]
Associated Types
Loading content...Required methods
fn scalar_polynomial_mult(variance: f64, scalar_polynomial: &[Self]) -> f64
[src]
Implementations on Foreign Types
impl RLWE for u32
[src]
type STorus = i32
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 = i64
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