ajdmom.itos_mom.coef_poly¶
- ajdmom.itos_mom.coef_poly(coef, poly, tp)[source]¶
Multiply poly with different type coefficients
- Parameters:
coef (int) – integer, such as the leading \(m_4(m_4-1)/2\).
poly (Poly) – poly returned by
int_mIEI_IEII().tp (int) –
type of the multiplication,
tp
multiply with
tp
multiply with
1
\(e^{k_1(n-1)h}v_{1,n-1}\)
5
\(e^{k_2(n-1)h}v_{2,n-1}\)
2
\(-e^{k_1(n-1)h}\theta_1\)
6
\(-e^{k_2(n-1)h}\theta_2\)
3
\(\theta_1\)
7
\(\theta_2\)
4
\(\sigma_{v1}\)
8
\(\sigma_{v2}\)
- Returns:
poly with attribute
keyfor= (‘(n_1m*k1+n_2m*k2)^{-i_m},…,(n_11*k1+n_21*k2)^{-i_1}’, ‘e^{(m_4*k1+m_6*k2)(n-1)h}’,’e^{(j_1*k1+j_2*k2)[t-(n-1)h]}’,’[t-(n-1)h]’, ‘v_{1,n-1}’,’theta1’,’sigma_v1’, ‘v_{2,n-1}’,’theta2’,’sigma_v2’).- Return type: