Learn R Programming

openfhe.R (version 1.6.1)

clear_all_ckks_caches: Release the precomputations a CKKS context has cached

Description

CKKS bootstrapping and scheme switching keep precomputed tables in the context. clear_bootstrap_precom() and clear_scheme_switch_precom() release one kind each, and raise an error on a context that is not CKKS. clear_all_ckks_caches() releases both and does nothing on a context of another scheme.

Usage

clear_all_ckks_caches(cc)

clear_bootstrap_precom(cc)

clear_scheme_switch_precom(cc)

Value

cc, invisibly.

Arguments

cc

A CryptoContext.