View source: R/methods-encrypt.R
| make_coef_packed_plaintext | R Documentation |
Encode an integer vector as a coefficient-packed plaintext.
Coefficient packing places each input value in a separate
polynomial coefficient and is the alternative to the SIMD
batched packing produced by make_packed_plaintext(). Used by
the integer-modulus Ring-LWE vignettes where per-coefficient
access is needed.
make_coef_packed_plaintext(cc, values, noise_scale_deg = 1L, level = 0L)
cc |
A |
values |
An integer vector whose length must not exceed
the ring dimension of |
noise_scale_deg |
See the |
level |
See the |
A Plaintext.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.