eval_add_in_place: Homomorphic addition in place

eval_add_in_placeR Documentation

Homomorphic addition in place

Description

Stores the sum of the two operands in the ciphertext operand, without allocating a new Ciphertext. One operand is a Ciphertext; the other is a Ciphertext, a Plaintext, or a single real or complex number (CKKS). The operands may be given in either order, as in the C++ library. When both are ciphertexts the first one receives the result.

Usage

eval_add_in_place(x, ...)

Arguments

x

A Ciphertext, a Plaintext, or a single real or complex number.

...

Method-specific arguments: y, the other operand.

Value

The modified Ciphertext, invisibly.


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