concrete-core 1.0.2

Concrete is a fully homomorphic encryption (FHE) library that implements Zama's variant of TFHE.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::prelude::EncoderCount;
use crate::specification::entities::markers::EncoderVectorKind;
use crate::specification::entities::AbstractEntity;

/// A trait implemented by types embodying an encoder vector entity.
///
/// # Formal Definition
pub trait EncoderVectorEntity: AbstractEntity<Kind = EncoderVectorKind> {
    /// Returns the number of encoder contained in the vector.
    fn encoder_count(&self) -> EncoderCount;
}