ajdmom.poly.Poly.mul_poly

Poly.mul_poly(other, keyIndexes, keyfor)[source]

Multiply by another poly of different type and return a new poly.

Parameters:
  • other (Poly) – another poly having a different ‘keyfor’ attribute.

  • keyIndexes (tuple) – a tuple with two lists, keyIndexes[0] for self, keyIndexes[1] for other.

  • keyfor (list) – the ‘keyfor’ attribute for the returned poly.

Returns:

a poly with ‘keyfor’ attribute.

Return type:

Poly