Polynomial long division: Difference between revisions

m
shifting '''could''' be always avoided using subarrays; not so interesting anyway
m (→‎{{header|Octave}}: specify the builtin to make the poly long div)
m (shifting '''could''' be always avoided using subarrays; not so interesting anyway)
Line 32:
 
* Error handling (for allocations or for wrong inputs) is not mandatory.
* Conventions can be different; in particular, note that if the first coefficient in the vector is the highest power of x for the polynomial represented by the vector, then the algorithm becomes simpler and shifting could be avoided.
 
'''Example for clarification'''