igraph / rigraph

igraph R package
https://r.igraph.org
532 stars 200 forks source link

Add `make_hypercube()` #1389

Open szhorvat opened 4 weeks ago

szhorvat commented 4 weeks ago

Expose igraph_hypercube(). Suggested R name: make_hypercube(). Don't forget to also add the corresponding hypercube(), which can be used with make_().

When writing docs, please pay attention to the phrasing zero-based vertex ID in the C docs. What's stated there is not true once IDs are shifted to be one-based.