| eval_chebyshev | R Documentation |
Uses OpenFHE's default algorithm selector, which routes to
eval_chebyshev_linear() for degree < 5 and
eval_chebyshev_ps() (Paterson-Stockmeyer) for higher
degrees. Call the variants directly to force one algorithm
or the other.
eval_chebyshev(ct, coefficients, a, b)
ct |
A Ciphertext |
coefficients |
Integer, double or complex vector of Chebyshev
coefficients. Each type is evaluated with its own arithmetic, as
for |
a |
Lower bound of the approximation interval |
b |
Upper bound of the approximation interval |
A Ciphertext
eval_chebyshev_coefficients() and
eval_chebyshev_function() for constructing the coefficient
vector from a user-supplied function;
eval_chebyshev_linear() / eval_chebyshev_ps() for
forcing the algorithm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.