update_beta_cpp: Update Beta Matrices Using C++ Random Walk
Description
This function calls the C++ function `update_beta_cpp` to perturb beta matrices.
Usage
update_beta_cpp(beta, p, d, rank, sigma)
Value
Updated list of beta matrices
Arguments
- beta
List of p×d matrices (length = rank)
- p
Number of rows in each beta matrix
- d
Number of columns in each beta matrix
- rank
Rank of tensor decomposition
- sigma
Standard deviation of Gaussian noise