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

Returns the GLWE dimension of the ciphertexts.

Returns the polynomial size of the ciphertexts.

Returns the number of ciphertexts in the vector.

Implementors