Skip to content
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

Consistency of BigO notations #7454

Closed
albert-github opened this issue May 18, 2023 · 5 comments
Closed

Consistency of BigO notations #7454

albert-github opened this issue May 18, 2023 · 5 comments
Assignees
Milestone

Comments

@albert-github
Copy link
Contributor

In the proposed pull request #7453 the BigO notation has been made consistent in the Barycentric_coordinates_2 package.

A quick search reveals that there are in other packages also usages of the BigO notation that are not properly shown, a quick search gave: big_O.txt (this file might contain a number of false positives as they are in non doxygen comment blocks)

  • should all the BigO notations in doxygen comments be shown as formulas like \f$O(n)\f$ ?

As a side note / question a number of comment blocks are starting like /*{\Mimplementation, do they have a deeper meaning?

@albert-github
Copy link
Contributor Author

Any comments ?

@sloriot
Copy link
Member

sloriot commented Jul 3, 2023

I think it should even be a macro. About the comment, I guess it is probably for an old system that is not used anymore.

@sloriot
Copy link
Member

sloriot commented Jul 3, 2023

maybe @afabri knows more about the pattern /*{\M

albert-github added a commit to albert-github/cgal that referenced this issue Jul 4, 2023
Create `cgalBigO` marco and used it.
(`The macro `cgalBigOLarge` is for special situations where we need bigger round brackets)
@albert-github
Copy link
Contributor Author

I've just pushed a proposed patch, pull request #7571

lrineau added a commit that referenced this issue Jul 12, 2023
@albert-github
Copy link
Contributor Author

Code of #7571 has been integrated in master on GitHub, closing issue

@lrineau lrineau added this to the 6.0-beta milestone Jul 17, 2023
@lrineau lrineau self-assigned this Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants