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

Implement and test incidence_density #207

Merged
merged 1 commit into from
Oct 31, 2022
Merged

Implement and test incidence_density #207

merged 1 commit into from
Oct 31, 2022

Conversation

leotrs
Copy link
Collaborator

@leotrs leotrs commented Oct 31, 2022

Completes #204 and fixes #180. Implements incidence_density which is the density of the incidence matrix.

A technical note, observe that the hypergraph on two nodes and all possible edges (that is, two singletons edges and one dyad) has density 2/3 according to this function.

@maximelucas
Copy link
Collaborator

Great!

@leotrs leotrs merged commit 74950ff into main Oct 31, 2022
@leotrs leotrs deleted the fix-180 branch October 31, 2022 18:35
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.

add density function
2 participants