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

Add Oriented Matroids Package #38024

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

thecaligarmo
Copy link
Contributor

This pull request merges the Oriented Matroids package that I developed (see https://github.com/thecaligarmo/oriented_matroids) into Sage so that others may develop directly into it rather than relying solely on myself.

This package should resolve ticket #18703 and in addition, my package should be removed from #31164 as this pull request will put Oriented Matroids directly into Sage rather than requiring a package.

If there are any changes needing to be made, just let me know and we can go from there.

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

@thecaligarmo
Copy link
Contributor Author

The Build & Test action seems to be failing, but I can't figure out why. It's stating it's not a git repository, when it clearly is. Not sure how to fix it.

Copy link

github-actions bot commented May 18, 2024

Documentation preview for this PR (built with commit eb1cc24; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@gmou3
Copy link
Contributor

gmou3 commented May 19, 2024

The Build & Test action seems to be failing, but I can't figure out why. It's stating it's not a git repository, when it clearly is. Not sure how to fix it.

Don't worry about that, it is some error of the tester.

"""
if hasattr(self, "_circuits"):
return self._circuits
raise NotImplementedError("Circuits not implemented")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend all Error messages to start uncapitalized and end without a dot.

\mathcal{C} / A = \left\{ X\mid_{E \backslash A} : X \in \mathcal{C} \text{ and} A \subseteq X^0 \right\}

"""
# sage: from sage.matroids.oriented_matroids.oriented_matroid import OrientedMatroid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do something with this commented code?


AUTHORS:

- Aram Dermenjian (): initial version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to add date or complete/delete file.

@thecaligarmo
Copy link
Contributor Author

@gmou3 I've gone ahead and fixed the things you wanted.

@gmou3
Copy link
Contributor

gmou3 commented Jul 4, 2024

Thanks. I had opened a PR a while ago with some formatting recommendations. Please have a look and merge or close it please.

@thecaligarmo
Copy link
Contributor Author

I hadn't noticed the pull request for some reason. I've added your changes as well and double checked things work nicely. Thanks for that.

@gmou3
Copy link
Contributor

gmou3 commented Jul 4, 2024

Cool. Personally, I'll need some time to review the more essential parts, while learning about oriented matroids.

@thecaligarmo
Copy link
Contributor Author

Cool. Personally, I'll need some time to review the more essential parts, while learning about oriented matroids.

No worries. Take your time =) If there's anything I can do to help, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants