View source: R/methods-eval-backlog.R
| eval_sum_rows | R Documentation |
A matrix is packed into the slots row by row. eval_sum_rows()
adds its rows together and eval_sum_cols() its columns. Each
takes the keys made by the matching key generator, which returns
them as an EvalKeyMap.
eval_sum_rows(ct, num_rows, eval_sum_key_map, subring_dim = 0L)
eval_sum_cols(ct, num_cols, eval_sum_key_map)
eval_sum_rows_key_gen(
cc,
sk,
public_key = NULL,
row_size = 0L,
subring_dim = 0L
)
eval_sum_cols_key_gen(cc, sk)
ct |
A |
num_rows, num_cols |
Integer; the number of rows, or columns, of the matrix. |
eval_sum_key_map |
An |
subring_dim |
Integer; the subring dimension, |
cc |
A |
sk |
A |
public_key |
A |
row_size |
Integer; the length of a row, |
eval_sum_rows() and eval_sum_cols() return a
Ciphertext; the key generators return an EvalKeyMap.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.