ajdmom.mdl_1fsv.cond_cmom.simplify

ajdmom.mdl_1fsv.cond_cmom.simplify(poly, tp=1)[source]

Simplify polynomials differently

Parameters:
  • poly (Poly) – Poly with keyfor = (‘e^{kt}’, ‘t’, ‘k^{-}’, ‘v_0-theta’, ‘theta’, ‘sigma’, ‘sigma/2k’, ‘rho-sigma/2k’, ‘sqrt(1-rho^2)’)

  • tp (int) – type of the simplification. If tp=1 (default), change ‘e^{kt}’ to ‘e^{-kt}’. If tp=2, change to (‘e^{-kt}’, ‘t’, ‘k^{-}’, ‘v_0-theta’, ‘theta’, ‘sigma’, ‘rho’). If tp=3, change to (‘e^{-kt}’, ‘t’, ‘k^{-}’, ‘v_0’, ‘theta’, ‘sigma’, ‘rho’).

Returns:

simplified poly.

Return type:

Poly