Polynomial long division: Difference between revisions
→{{header|C++}}
Line 536:
cout << c << "[" << i << "]= " << A[i] << endl;
cout << "Degree of " << c << ": " << d << endl << endl;
}
double *N,*D,*d,*q,*r; // vectors - N / D = q N % D = r
int dN, dD, dd, dq, dr; // degrees of vectors
|