ajdmom.cpp_mom.decode

ajdmom.cpp_mom.decode(poly)[source]

Decode intermediate poly to target poly

Parameters:

poly (Poly) – poly representation of MGF with key \((i,(n_1,m_1),...,(n_l,m_l))\) which stands for \((\lambda h)^{i} M^{(n_1)m_1}(s) ... M^{(n_l)m_l}(s)\).

Returns:

poly with attribute keyfor = (‘lambda*h’,’mu’,’sigma^2’).

Return type:

Poly