Skip to contents

Evaluate cosine on a ciphertext

Usage

eval_cos(ct, a, b, degree)

Arguments

ct

A Ciphertext

a

Lower bound of the approximation interval

b

Upper bound of the approximation interval

degree

Chebyshev polynomial degree