Skip to contents

Forces the "linear" Chebyshev evaluator regardless of degree. Shallower circuit depth than Paterson-Stockmeyer but uses more multiplications at high degree.

Usage

eval_chebyshev_linear(ct, coefficients, a, b)

Arguments

ct

A Ciphertext

coefficients

Numeric vector of Chebyshev coefficients

a

Lower bound of the approximation interval

b

Upper bound of the approximation interval

Value

A Ciphertext