ajdmom.mdl_svcj.cond2_mom.poly2num¶
- ajdmom.mdl_svcj.cond2_mom.poly2num(poly, par)[source]¶
Decode poly back to scalar
- Parameters:
poly (Poly) – poly to be decoded with attribute
keyfor= (‘e^{kt}’,’t’,’k^{-}’,’beta_t’,’mu-theta/2’,’v0-theta’,’theta’,’sigma’, ‘l_{1:n}’, ‘o_{1:n}’, ‘p’, ‘sigma/2k’,’rho-sigma/2k’,’sqrt(1-rho^2)’, ‘mu_s’, ‘rhoJ’, ‘sigma_s’, ‘J_{1:n}’)par (dict) – parameters in dict,
jumptime(tuple) andjumpsize(tuple) must also be included
- Returns:
scalar of the poly
- Return type: