M_U_cpp: Create 3D Array from Factor Matrices (C++ version)

View source: R/RcppExports.R

M_U_cppR Documentation

Create 3D Array from Factor Matrices (C++ version)

Description

Computes M(i,j,t) = sum_r U1(i,r) * U2(j,r) * V(t,r) This is the core tensor reconstruction operation used in NetworkChange.

Usage

M_U_cpp(U1, U2, V)

Arguments

U1

First factor matrix (N1 x R)

U2

Second factor matrix (N2 x R), typically same as U1 for undirected networks

V

Third factor matrix (T x R)

Value

3D array of dimension (N1 x N2 x T)


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