Skip to contents

Returned by eval_fast_rotation_precompute() and consumed by eval_fast_rotation(). Hoisting amortizes the per-rotation decomposition over many rotations of the same source ciphertext.

Usage

FastRotationPrecomputation(ptr = NULL)

Arguments

ptr

External pointer (internal use)

Value

An S7 object of class FastRotationPrecomputation, inheriting from OpenFHEObject, whose ptr property holds an external pointer to the C++ digit decomposition. It caches the work that is common to every rotation of one source ciphertext; obtain one from eval_fast_rotation_precompute() and pass it to eval_fast_rotation() rather than calling this constructor directly.