updateUm_cpp: Update Regime-specific Latent Node Positions (C++ version)

View source: R/RcppExports.R

updateUm_cppR Documentation

Update Regime-specific Latent Node Positions (C++ version)

Description

Updates U for each regime using optimized matrix operations.

Usage

updateUm_cpp(ns, U, V, R, Zm, Km, ej, s2, eU, iVU, UL_Normal)

Arguments

ns

Number of hidden states

U

List of regime-specific latent node positions

V

Combined V matrix

R

Dimension of latent space

Zm

List of regime-specific (Z - beta) arrays

Km

List of regime-specific dimensions

ej

List of regime indicators (binary vectors)

s2

Vector of regime-specific error variances

eU

List of regime-specific prior means for U

iVU

List of regime-specific prior precision matrices for U

UL_Normal

Normalization method: "Normal" or "Orthonormal"

Value

List of updated regime-specific U matrices


NetworkChange documentation built on April 7, 2026, 9:07 a.m.