rxn.utilities.misc.get_multipliers

rxn.utilities.misc.get_multipliers(a, b)[source]

Get the multipliers m_a and m_b so that m_a * a == m_b * b.

Raises

ValueError – If one of the numbers is not strictly positive.

Returns

multiplier for a, multiplier for b.

Return type

Tuple

Parameters
  • a (int) –

  • b (int) –