Learn R Programming

openfhe.R (version 1.6.1)

eval_chebyshev_ps: Evaluate a Chebyshev series via the Paterson-Stockmeyer method

Description

Forces the Paterson-Stockmeyer Chebyshev evaluator regardless of degree. Efficient for high-degree polynomials.

Usage

eval_chebyshev_ps(ct, coefficients, a, b)

Value

A Ciphertext

Arguments

ct

A Ciphertext

coefficients

Integer, double or complex vector of Chebyshev coefficients, as for eval_chebyshev(). Pass whole-number coefficients as doubles: at OpenFHE 1.6.1 this evaluator returns wrong values for integer coefficients.

a

Lower bound of the approximation interval

b

Upper bound of the approximation interval

See Also

eval_chebyshev(), eval_chebyshev_linear()