updateU: Update U with orthonormal columns

View source: R/optimize.R

updateUR Documentation

Update U with orthonormal columns

Description

Function to update U using given delta and V. The new U is set as XY^T, where SVD of D V Delta = X Sigma Y^T.

Usage

updateU(mat_list, d, v)

Arguments

mat_list

A list containing numeric matrices

d

A list containing delta matrices

v

V matrix

Value

a list containing new U matrices

Examples

set.seed(1231)
mymat <- createRandomMatrices(n = 3, ncols = 3, nrows = 3)
sbf <- SBF(matrix_list = mymat, orthogonal = FALSE,
           transform_matrix = FALSE)
newU <- updateU(mymat, sbf$delta, sbf$v)

amalthomas111/SBF documentation built on Sept. 2, 2022, 11:27 a.m.