pub trait LweCiphertextVectorDiscardingConversionEngine<Input, Output>: AbstractEnginewhere
    Input: LweCiphertextVectorEntity,
    Output: LweCiphertextVectorEntity,
{ fn discard_convert_lwe_ciphertext_vector(
        &mut self,
        output: &mut Output,
        input: &Input
    ) -> Result<(), LweCiphertextVectorDiscardingConversionError<Self::EngineError>>; unsafe fn discard_convert_lwe_ciphertext_vector_unchecked(
        &mut self,
        output: &mut Output,
        input: &Input
    ); }
Expand description

A trait for engines converting (discarding) LWE ciphertext vectors .

Semantics

This discarding operation fills the output LWE ciphertext vector with the conversion of the input LWE ciphertext vector to a type with a different representation (for instance from cpu to gpu memory).

Formal Definition

Required Methods

Converts a LWE ciphertext vector .

Unsafely converts a LWE ciphertext vector .

Safety

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

Implementors