eval_poly_ps: Evaluate a polynomial via the Paterson-Stockmeyer method

View source: R/methods-ckks.R

eval_poly_psR Documentation

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)

Arguments

ct

A Ciphertext

coefficients

Integer, double or complex vector of polynomial coefficients, as for eval_poly()

Value

A Ciphertext

See Also

eval_poly(), eval_poly_linear()


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