
Arithmetic without the library's operand checks
Source:R/methods-eval-backlog.R
eval_add_in_place_no_check.RdThese call the C++ functions of the same names, which skip the
checks OpenFHE normally makes on its operands (same context, same
key, compatible levels) and do not adjust levels or scales. They
are for code that has already established those conditions; with
operands that do not meet them the result is not meaningful. Use
eval_add_in_place(), eval_mult() and eval_mult_no_relin()
otherwise.
Usage
eval_add_in_place_no_check(ct1, ct2)
eval_mult_no_check(ct, scalar)
eval_mult_no_relin_no_check(ct1, ct2)Details
eval_add_in_place_no_check() adds ct2 into ct1.
eval_mult_no_check() multiplies every element of a ciphertext by
an integer scalar. eval_mult_no_relin_no_check() returns the
tensor product of the elements of two ciphertexts, without
relinearizing. That is their product in CKKS for two ciphertexts
at the same level and scale. It is not the BFV product, which
includes a scaling step this function does not perform.