updateU_cpp: Update Time-constant Latent Node Positions (C++ version)

View source: R/RcppExports.R

updateU_cppR Documentation

Update Time-constant Latent Node Positions (C++ version)

Description

Updates U using optimized matrix operations with pre-computed invariants.

Usage

updateU_cpp(K, U, V, R, Zb, s2, eU, iVU)

Arguments

K

Dimensions of Z (N, N, T)

U

Current latent node positions (N x R)

V

Layer-specific network generation rule (T x R)

R

Dimension of latent space

Zb

3D array (Z - beta)

s2

Error variance (scalar)

eU

Prior mean vector for U

iVU

Prior precision matrix for U

Value

Updated U matrix (N x R)


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