Module aggregate

Source

Structs§

AggregationOne
First step of aggregation
AggregationTwo
Second step of aggregation

Functions§

calculate_gij
calculate garbage polynomial g = <s_i, s_j>
calculate_hij
calculate h_{ij} = 1/2 * (<\phi_i, s_j> + <\phi_j, s_i>), then use base b to decompose the polynomial
calculate_u_1
line 19, page 18: calculate u_1 = \sum(B_ik * t_i^(k)) + sum(C_ijk * g_ij^(k))
calculate_u_2
line 20, page 18: calculate u_2 = \sum(D_ijk * h_ij^(k))
calculate_z
calculate z = c_1s_1 + … + c_rs_r or calculate Az = c_1t_1 + … + c_rt_r