nat_pos_plus_vel_cpp | R Documentation |
Add a velocity to a position
nat_pos_plus_vel_cpp(cl, vl, vl_neg, n_arcs)
cl |
the position's causal list |
vl |
the velocity's positive causal list |
vl_neg |
velocity's negative causal list |
n_arcs |
number of arcs present in the position. Remainder: can't return integers by reference, they get casted to 1 sized vectors |
the new position by reference and the new number of arcs by return
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.