- qspec.fraction ( r )[source]
-
- Parameters:
-
- rsympy.core.numbers.Rational | str
A sympy.Rational or a str with the signature "'num'/'denom'".
- Returns:
-
- out(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'.