Learn R Programming

openfhe.R (version 1.6.1)

mod_reduce: Reduce the modulus chain by one level

Description

Synonym for rescale(). Both names dispatch to the same C++ operation (CryptoContextImpl::Rescale delegates to ModReduce internally); the R binding keeps both so callers can use whichever name matches the OpenFHE documentation they're following.

Usage

mod_reduce(x, ...)

Value

A Ciphertext at one lower level.

Arguments

x

A Ciphertext.

...

Reserved for future method-specific arguments.

See Also

rescale(), mod_reduce_in_place()