Learn R Programming

dbnR (version 0.7.1)

vel_plus_vel_cpp: Add two Velocities

Description

Add two Velocities

Usage

vel_plus_vel_cpp(vl1, vl2, abs_op)

Arguments

vl1

the first Velocity's causal list

vl2

the second Velocity's causal list

abs_op

the final number of 1,-1 operations

Value

a list with the Velocity's causal list and the number of operations