public static operator*( readonly notnull r1 as Rational, readonly notnull r2 as Rational ) as Rational
Overloaded multiplication operator for Rational numbers.
| Parameter | Description |
|---|---|
r1 | First rational number. |
r2 | Second rational number. |
Product of the two rational numbers.
assert Rational(1, 3) * Rational(2, 1) == Rational(2, 3)