nat_pos_plus_vel_cpp: Add a velocity to a position

View source: R/RcppExports.R

nat_pos_plus_vel_cppR 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


dbnR documentation built on Oct. 5, 2022, 1:07 a.m.