pub trait PlaintextVectorDecodingEngine<EncoderVector, PlaintextVector, CleartextVector>: AbstractEnginewhere
    EncoderVector: EncoderVectorEntity,
    PlaintextVector: PlaintextVectorEntity,
    CleartextVector: CleartextVectorEntity,
{ fn decode_plaintext_vector(
        &mut self,
        encoder: &EncoderVector,
        input: &PlaintextVector
    ) -> Result<CleartextVector, PlaintextVectorDecodingError<Self::EngineError>>; unsafe fn decode_plaintext_vector_unchecked(
        &mut self,
        encoder: &EncoderVector,
        input: &PlaintextVector
    ) -> CleartextVector; }
Expand description

A trait for engines decoding plaintext vectors.

Semantics

This pure operation generates a cleartext vector containing the element-wise decodings of the input plaintext vector, under the encoder encoder vector.

Formal Definition

Required Methods

Decodes a plaintext vector.

Unsafely decodes a plaintext vector.

Safety

For the general safety concerns regarding this operation, refer to the different variants of PlaintextVectorDecodingError. For safety concerns specific to an engine, refer to the implementer safety section.

Implementors

Description:

Implementation of PlaintextVectorDecodingEngine for DefaultEngine that decodes 32 bits integers to 64 bits floating point numbers.

Description:

Implementation of PlaintextVectorDecodingEngine for DefaultEngine that decodes 64 bits integers to 64 bits floating point numbers.