Get all the attributes (as a list
) of an RCpp tree object. The attributes are respectively:
number of x-particles (N
); upper bound on total size of tree (M
);
dimension of each x-particle (dimx
); 'number of time "insert" has been called (nsteps
);
vector of ancestor indices (a_star
); vector of offspring counts (o_star
);
vector of particles (x_star
); vector of leaf indices (l_star
).
1 | tree_getattributes(tree)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.