eval_divide: Evaluate division approximation on a ciphertext

View source: R/methods-ckks.R

eval_divideR Documentation

Evaluate division approximation on a ciphertext

Description

Evaluate division approximation on a ciphertext

Usage

eval_divide(ct, a, b, degree)

Arguments

ct

A Ciphertext

a

Lower bound of the approximation interval

b

Upper bound of the approximation interval

degree

Chebyshev polynomial degree

Value

A Ciphertext holding the encrypted, slot-wise reciprocal of ct, approximated by a Chebyshev polynomial of the given degree on the interval ⁠[a, b]⁠. The interval must exclude zero, accuracy degrades outside it, and the result sits ceiling(log2(degree)) + 1 levels below ct.


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