TropicalPolytope.extrapolation.HAR {TML} | R Documentation |
Vertex HAR with extrapolation MCMC with uniform target distribution
Description
This function samples points uniformly the space defined by a tropical simplex
Usage
TropicalPolytope.extrapolation.HAR(D_s, x0, I = 1)
Arguments
D_s |
matrix of vertices of a tropical simplex; each row is a vertex |
x0 |
initial point for sampler, numeric vector |
I |
number of states in Markov chain |
Value
next sampled point from the tropical polytope
Author(s)
David Barnhill david.barnhill@nps.edu
References
Yoshida, Ruriko, Keiji Miura and David Barnhill (2022). Hit and Run Sampling from Tropically Convex Sets.
Examples
D_s <-matrix(c(0,0,0,0,10,0,0,0,10),3,3,TRUE)
x0 <- c(0,0,0)
TropicalPolytope.extrapolation.HAR(D_s, x0, I = 50)
[Package TML version 1.2.0 Index]