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

Cmr three_sum WIP and cographicnode #10

Merged
merged 7 commits into from
Aug 1, 2023
Merged

Conversation

jsantillan3
Copy link

📚 Description

started writing three_sum in Matrix_cmr_sparse, but currently gives wrong answer. Added delete_rows() and delete_columns() to the class to help write three_sum, which do appear to work. Also made .graph() work for CographicNode

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • 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 accordingly.

⌛ Dependencies

return Matrix_cmr_chr_sparse._from_data(upper_rows)

def delete_rows(self, indices):
rows = self.rows()
Copy link
Owner

Choose a reason for hiding this comment

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

I think it would be better to implement a version of matrix_from_rows(), which is called by Sage's version of the delete_rows() method. See matrix1.pyx

@github-actions
Copy link

Documentation preview for this PR is ready! 🎉
Built with commit: d8f028c

@mkoeppe mkoeppe merged commit b3f7e96 into mkoeppe:cmr Aug 1, 2023
mkoeppe pushed a commit that referenced this pull request Oct 8, 2023
Removed use of "copy" and condensed multiple lines to one
mkoeppe pushed a commit that referenced this pull request Oct 31, 2023
* fix_on_label_removal initial

* fix_on_label_removal state -> status

* fix bug in actor valid

* once again

* rewrite authors in actor_valid

* syntax

* replace warning by hint
mkoeppe pushed a commit that referenced this pull request Dec 11, 2023
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
mkoeppe pushed a commit that referenced this pull request Feb 5, 2024
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
mkoeppe pushed a commit that referenced this pull request Feb 16, 2024
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
mkoeppe pushed a commit that referenced this pull request May 14, 2024
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
mkoeppe pushed a commit that referenced this pull request Jun 2, 2024
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
mkoeppe pushed a commit that referenced this pull request Oct 13, 2024
Co-authored-by: J S <javier@javiers-mbp.mynetworksettings.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants