50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

lgspline (version 0.2.0)

matmult_U: Left-Multiply a List of Block-Diagonal Matrices by U

Description

Useful for computing UG where G is a list of block-diagonal matrices for each partition, and U is a square P by P dense matrix

Usage

matmult_U(U, G, nc, K)

Value

Matrix of UG

Arguments

U

Matrix of dimension P by P that projects onto the null space of A transpose

G

List of G matrices for each partition

nc

Numeric numeric of basis expansions of predictors per partition

K

Number of blocks