updateU: Update time-constant latent node positions

View source: R/updateU.R

updateUR Documentation

Update time-constant latent node positions

Description

Update time-constant latent node positions using optimized matrix operations. Pre-computes invariant quantities outside the node loop for better performance.

Usage

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

Arguments

K

The dimensionality of Z

U

The most recent draw of latent node positions

V

Layer-specific network generation rule

R

The dimensionality of latent space

Zb

Z - beta

s2

error variance

eU

The mean of U

iVU

The variance of U

Value

A matrix of time-constant latent node positions


NetworkChange documentation built on Jan. 21, 2026, 9:08 a.m.