eval_mult_in_place: Homomorphic multiplication by a number, in place

eval_mult_in_placeR Documentation

Homomorphic multiplication by a number, in place

Description

Multiplies a ciphertext by a single real or complex number (CKKS) and stores the result in the ciphertext. The operands may be given in either order. OpenFHE declares no in-place product of two ciphertexts or of a ciphertext and a plaintext on the CryptoContext; use eval_mult() for those.

Usage

eval_mult_in_place(x, ...)

Arguments

x

A Ciphertext, 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.