getbound: New way of finding Bin ! (Now A)

View source: R/RcppExports.R

getboundR Documentation

New way of finding Bin ! (Now A)

Description

New way of finding Bin ! (Now A)

Usage

getbound(m, alpha, li0, f0x, f1x, Pis)

Arguments

m

the number of positions (hypothesis)

alpha

a matrix m * 2 containing the forward variables

f0x

a vector of the values of the density under the null hypothesis on the observations

f1x

a vector of the values of the density under the alternative hypothesis on the observations

A

a matrix 2 * 2 the transition probabilities

beta

a matrix m * 2 containing the backward variables

Value

Product of matrices

Examples

A <- matrix(1:9, 3, 3)
B <- matrix(11:19, 3, 3)
matrix_mult_cpp(A, B)

Marie-PerrotDockes/sanssouci.hmm documentation built on Oct. 26, 2023, 10:36 a.m.