Description Usage Arguments Value
C interface that is functionally equivalent to samplecycles. Samples n cycles and alters the random state accordingly
1 2 3 |
n |
Number of cycles to sample |
bft |
Spannig tree. |
depth |
depth of the items in spanning tree. |
st |
subtree indices |
idx |
Triplet indices of the links in spanning tree. |
idx0 |
Vector of cycle links that do not appear in the spanning tree. |
slength |
length of cycles corresponding to idx0 |
odds |
array with the number of odd cycles for each subgraph |
triplets |
nX2 matrix of triplest (links) |
randomstate |
Current random state. |
a |
lower bound for the weight of each triplet |
b |
upper bound for the weight of each triplet |
what |
define what to return (string). One of |
New random state.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.