nat_pos_plus_vel_cpp {dbnR}R Documentation

Add a velocity to a position

Description

Add a velocity to a position

Usage

nat_pos_plus_vel_cpp(cl, vl, vl_neg, n_arcs)

Arguments

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

Value

the new position by reference and the new number of arcs by return


[Package dbnR version 0.7.8 Index]