randomize_vl_cpp: Randomize a velocity with the given probabilities

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Randomize a velocity with the given probabilities

Usage

1
randomize_vl_cpp(vl, probs)

Arguments

vl

a velocity list

probs

the probabilities of each value in the set -1,0,1

Value

a velocity list with randomized values


dkesada/PSOHO documentation built on Dec. 7, 2020, 11:35 p.m.