eval_add_mutable_in_place: Mutable arithmetic on two ciphertexts, in place

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

eval_add_mutable_in_placeR Documentation

Mutable arithmetic on two ciphertexts, in place

Description

The result of ct1 + ct2, ct1 - ct2 or ct1 * ct2 replaces the contents of ct1. As in the other mutable forms (eval_add_mutable()), the library may also adjust ct2.

Usage

eval_add_mutable_in_place(ct1, ct2)

eval_sub_mutable_in_place(ct1, ct2)

eval_mult_mutable_in_place(ct1, ct2)

Arguments

ct1

A Ciphertext; receives the result.

ct2

A Ciphertext; may be modified.

Value

ct1, invisibly.


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