- qspec.fraction ( r )[source]
-
- Parameters:
-
- rsympy.core.numbers.Rational | str
A sympy.Rational or a str with the signature "num/denom".
- Returns:
-
- outtuple[int, int]
the numerator and denominator of
r.
A sympy.Rational or a str with the signature "num/denom".
the numerator and denominator of r.