semigroup: Numerically compute the transition matrix of a CTMC given the...

View source: R/semigroup.R

semigroupR Documentation

Numerically compute the transition matrix of a CTMC given the generator matrix

Description

Computes P(t)=e^{tQ}, numerically

Usage

semigroup(t, Q)

Arguments

t

time input

Q

generator matrix, also called Q-matrix, and transition-rate matrix.

Details

The exponential of a matrix is defined by the Taylor series ∑ (tQ)^n/n!

Value

matrix


shill1729/markovChains documentation built on April 24, 2022, 11:50 a.m.