updateDelta: Update Delta

View source: R/optimize.R

updateDeltaR Documentation

Update Delta

Description

Function to update Delta using given Uis and V. The new Delta is set as diag(U^T D V).

Usage

updateDelta(mat_list, u, v)

Arguments

mat_list

A list containing numeric matrices

u

A list containing U 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)
newDelta <- updateDelta(mymat, newU, sbf$v)

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