Replaces the nested R loops for bipartite dynamic_uv in lame.R. Uses direct 2x2 inverse formula for common R=2 case.
Arguments
- U_state
3D array (nA x RA x T)
- V_state
3D array (nB x RB x T)
- E
3D array of residuals (nA x nB x T)
- G
Interaction matrix (RA x RB)
- rho_uv
AR(1) persistence parameter
- sigma_uv
Innovation standard deviation
- s2
Dyadic variance
- max_abs
Optional positive coordinate bound; nonpositive or infinite values disable it. Each actor conditional respects the bound.