Anonymous user
Polynomial long division: Difference between revisions
→{{header|Ruby}}
Line 899:
# the remaining numbers in the bottom row correspond to the coefficients of the remainder
r = board[-1].
q = [0] if q.empty?
[q, r]
|
Line 899:
# the remaining numbers in the bottom row correspond to the coefficients of the remainder
r = board[-1].
q = [0] if q.empty?
[q, r]
|