Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a721c72

Browse filesBrowse files
authored
Update PolyInvSimpler.h
1 parent 8b7a289 commit a721c72
Copy full SHA for a721c72

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎Implementations/content/numerical/Polynomials/PolyInvSimpler.h

Copy file name to clipboardExpand all lines: Implementations/content/numerical/Polynomials/PolyInvSimpler.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ poly sqrt(const poly& A, int n) { // Q-(Q^2-A)/(2Q)
2929
return RSZ(B,n);
3030
}
3131
// return {quotient, remainder}
32-
pair<poly,poly> divi(const poly& f, const poly& g) {
32+
pair<poly,poly> quoRem(const poly& f, const poly& g) {
3333
if (sz(f) < sz(g)) return {{},f};
3434
poly q = conv(inv(rev(g),sz(f)-sz(g)+1),rev(f));
3535
q = rev(RSZ(q,sz(f)-sz(g)+1));
@@ -52,4 +52,4 @@ poly exp(poly A, int n) { assert(A[0] == 0);
5252
// while (sz(B) < n) { int x = 2*sz(B);
5353
// B = RSZ(B+conv(B,RSZ(A,x)-log(B,x)),x); }
5454
// return RSZ(B,n);
55-
// }
55+
// }

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.