Skip to content

Comments

feat: add incidence matrix functions#89

Merged
Neclow merged 10 commits intosbhattlab:mainfrom
Neclow:incidence
Jul 4, 2025
Merged

feat: add incidence matrix functions#89
Neclow merged 10 commits intosbhattlab:mainfrom
Neclow:incidence

Conversation

@Neclow
Copy link
Collaborator

@Neclow Neclow commented Jul 3, 2025

Calculate the incidence matrix of phylo2vec vectors. This can be computed as a dense matrix or using several sparse approaches: COO, CSR, CSC (available in Rust/R/Python) or DOK (rust only).

Add scipy as a dependency in the pixi.toml to test the sparse formats.

Closes #85 as adjacency matrices won't be implemented for now.

@Neclow Neclow marked this pull request as ready for review July 4, 2025 09:57
@Neclow Neclow merged commit 91f2492 into sbhattlab:main Jul 4, 2025
7 checks passed
@Neclow Neclow deleted the incidence branch October 16, 2025 12:36
@Neclow Neclow restored the incidence branch October 16, 2025 12:37
@Neclow Neclow deleted the incidence branch October 16, 2025 13:02
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.

feat: add more classical graph theory objects

1 participant