ajdmom.mdl_srjd.cond2_mom.coef_poly

ajdmom.mdl_srjd.cond2_mom.coef_poly(coef, poly, tp)[source]

Multiply poly with different type coefficients

Parameters:
  • coef (fractions.Fraction) – coefficient.

  • poly (Poly) – poly with attribute keyfor = (‘v_0’, ‘k^{-}’, ‘theta’, ‘sigma’, ‘e^{kt}’, ‘l_{1:n}’)

  • tp (int) –

    type of the multiplication,

    tp

    multiply with

    1

    \(v_0-\theta\)

    2

    \(\theta\)

    3

    \(1\)

    4

    \(\sigma_v\)

Returns:

poly with the same attribute keyfor of the input poly

Return type:

Poly