-
Notifications
You must be signed in to change notification settings - Fork 771
[lib] For showing complexity, use $N \log N$ #1275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Why drop the parentheses? Mathematical function application notation usually uses parentheses; I would find this change both unconventional and unsightly. Note also that we sometimes say things like "log(a - b)" where we need the parentheses anyway. |
We say |
If you end up using nested parentheses (e.g., |
@godbyk: Yes, except I thought math mode would auto-scale such things? Anyway, the uses I've come across in our standard use just "N" or "N log N" and then define what N means in an extra phrase. I haven't come across nested parens, yet, except possibly for \bigoh{\log(N)}, which the proposed patch will fix (by removing the inner set of parens). |
@jensmaurer I'm afraid there's no such autoscaling. The closest autoscaling would be using |
You can use |
and not $N \log(N)$ or other variants. Partially addresses cplusplus#1088.
Rebased. |
I prefer log(N) to log N so as not to run into ambiguity issues with what log a + b means |
@burblebee: See #1088 for the editorial direction. @zygoloid: This seems ready to merge. |
and not$N \log(N)$ or other variants.
Partially addresses #1088.