eval_add_mutable: Homomorphic add, mutable variant

eval_add_mutableR Documentation

Homomorphic add, mutable variant

Description

The Mutable* family exists so that operations that can safely mutate their inputs during evaluation (e.g. a temporary intermediate in a longer circuit) can do so without forcing a defensive copy. Semantically equivalent to the non-Mutable counterpart from the user's perspective; the difference is performance under specific workloads.

Usage

eval_add_mutable(x, ...)

Arguments

x

A Ciphertext or a Plaintext (may be modified internally).

...

Method-specific arguments: y, a Ciphertext or a Plaintext (may be modified internally). At least one of x and y is a Ciphertext.

Value

A new Ciphertext holding x + y.


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