Determine the Diagonal of Matrix \(A\)
Source:R/calculate-diagonal-matrix-A.R
calculate_diagonal_matrix_A.Rd
The wFLSA algorithm requires the choice of a matrix \(A\) such that \(A - D'D\) is positive semidefinite. We choose the matrix \(A\) to be diagonal with a fixed value \(a\). This function determines the smallest value of \(a\) such that \(A - D'D\) is indeed positive semidefinite. We do this be determining the largest eigenvalue