pub trait GlweCiphertextVectorEntity: AbstractEntity<Kind = GlweCiphertextVectorKind> {
fn glwe_dimension(&self) -> GlweDimension;
fn polynomial_size(&self) -> PolynomialSize;
fn glwe_ciphertext_count(&self) -> GlweCiphertextCount;
}
Expand description
A trait implemented by types embodying a GLWE ciphertext vector.
Remark: GLWE ciphertexts generalize LWE ciphertexts by definition, however in this library, GLWE ciphertext entities do not generalize LWE ciphertexts, i.e., polynomial size cannot be 1.
Formal Definition
cf here
Required Methods
sourcefn glwe_dimension(&self) -> GlweDimension
fn glwe_dimension(&self) -> GlweDimension
Returns the GLWE dimension of the ciphertexts.
sourcefn polynomial_size(&self) -> PolynomialSize
fn polynomial_size(&self) -> PolynomialSize
Returns the polynomial size of the ciphertexts.
sourcefn glwe_ciphertext_count(&self) -> GlweCiphertextCount
fn glwe_ciphertext_count(&self) -> GlweCiphertextCount
Returns the number of ciphertexts in the vector.