eval_poly_ps: Evaluate a polynomial via the Paterson-Stockmeyer method
Description
Forces the Paterson-Stockmeyer polynomial evaluator
regardless of degree. Efficient for high-degree polynomials
(fewer multiplications at the cost of more additions and a
deeper circuit); for degree < 5 prefer eval_poly_linear().
Usage
eval_poly_ps(ct, coefficients)
Value
A Ciphertext
Arguments
ct
A Ciphertext
coefficients
Integer, double or complex vector of polynomial
coefficients, as for eval_poly()