mod_reduce: Reduce the modulus chain by one level

mod_reduceR Documentation

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, ...)

Arguments

x

A Ciphertext.

...

Reserved for future method-specific arguments.

Value

A Ciphertext at one lower level.

See Also

rescale(), mod_reduce_in_place()


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