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

Integer, double or complex vector of Chebyshev coefficients, as for eval_chebyshev()

a

Lower bound of the approximation interval

b

Upper bound of the approximation interval

Value

A Ciphertext