Learn R Programming

openfhe.R (version 1.6.1)

eval_merge: Merge the first slots of several ciphertexts into one

Description

Returns a ciphertext whose slot i holds the first slot of the i-th input. The other slots of each input must be zero. Needs the rotation keys for indices -1, ..., -(n - 1), where n is the number of ciphertexts (see eval_at_index_key_gen()).

Usage

eval_merge(ciphertexts)

Value

A Ciphertext.

Arguments

ciphertexts

A non-empty list of Ciphertext objects.