getMarkovianZigzagSample: Draw one Markovian zigzag sample

View source: R/getSampleFunctions.R

getMarkovianZigzagSampleR Documentation

Draw one Markovian zigzag sample

Description

Simulate the Markovian zigzag dynamics for a given position over a specified travel time.

Usage

getMarkovianZigzagSample(position, velocity = NULL, engine, travelTime)

Arguments

position

a d-dimensional position vector.

velocity

optional d-dimensional velocity vector. If NULL, it will be generated within the function.

engine

an object representing the Markovian zigzag engine, typically containing settings and state required for the simulation.

travelTime

the duration for which the dynamics are simulated.

Value

A list containing the position and velocity after simulating the dynamics.


hdtg documentation built on June 8, 2025, 1:07 p.m.