eval_merge: Merge the first slots of several ciphertexts into one

View source: R/methods-eval-backlog.R

eval_mergeR Documentation

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)

Arguments

ciphertexts

A non-empty list of Ciphertext objects.

Value

A Ciphertext.


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.