//
pkg.gl
Category
github.com/osmosis-labs/osmosis/v24
simulation
simtypes
transitionmatrix
package
24.0.4
Repository:
https://github.com/osmosis-labs/osmosis.git
Documentation:
pkg.go.dev
Overview
Versions
13
Dependencies
3
Dependents
1
Files
63 SLOC
#
Functions
CreateTransitionMatrix
CreateTransitionMatrix creates a transition matrix from the provided weights.
GetMemberOfInitialState
GetMemberOfInitialState takes an initial array of weights, of size n.
#
Structs
TransitionMatrix
TransitionMatrix is _almost_ a left stochastic matrix.