complexTPM: Construct a transition probability matrix for a rate matrix...

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Construct a transition probability matrix for a rate matrix with complex eigenvalues using the real canonical form of the decomposition.

Usage

1
complexTPM(real_vals, imag_vals, vecs, inv_vecs, dt, n_real)

Arguments

vecs

matrix of eigenvectors (positive complex conjugate)

inv_vecs

inverse matrix of eigenvectors

dt

time interval

vals

vector of eigenvalues of type cx_vec

Value

Updated eigenvalues, eigenvectors, and inverse matrices


fintzij/BDAepimodel documentation built on Sept. 20, 2020, 1:44 p.m.