Learn R Programming

dbnR (version 0.7.1)

nat_pos_minus_pos_cpp: Subtracts two natPositions to obtain the natVelocity that transforms ps1 into ps2

Description

Subtracts two natPositions to obtain the natVelocity that transforms ps1 into ps2

Usage

nat_pos_minus_pos_cpp(ps1, ps2, vl, vl_neg)

Arguments

ps1

the first position's causal list

ps2

the second position's causal list

vl

the natVelocity's positive causal list

vl_neg

the natVelocity's negative causal list

Value

the velocity's causal lists by reference and the number of operations by return