Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDegree mixing matrix #1061
Degree mixing matrix #1061
Comments
|
There are no plans to include such a function, but pull requests are welcome. |
|
Some notes:
|
|
We have a sparse matrix data type in the C layer as well, so we can make use of that if we decide that it should be implemented in the C layer. But, at least in Python, there is no direct dependency between the Python-C glue code and NumPy, and I want to keep it that way, so the best that the Python-C glue code can do (without depending on NumPy) is to return a list of |
|
If this is implemented, it should have an option to (optionally!) set the maximum degree for the result. This is useful when generating joint degree matrices for several graphs, and we want them to be of compatible size so they can operated (e.g. added) together. If the maximum degree of the graph is smaller than what is requested, the result will simply be padded with zeros. This advice is based on practical experience from using a joint degree matrix function. Example: |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.


Dear
igraphauthors,I would like to know if there are (or has been) any plans to include a degree mixing matrix function in
igraph.