experiments with the variance
This commit is contained in:
@@ -192,6 +192,9 @@ compute_matrix <- function(
|
||||
#' @export
|
||||
compute_minmax_sv <- function(M) {
|
||||
s <- svd(M, nu=0, nv=0)$d
|
||||
|
||||
# just a check if we compute the right thing
|
||||
# s <- sqrt(eigen(M %*% t(M), symmetric = TRUE, only.value=TRUE)$values)
|
||||
|
||||
list(
|
||||
largest_singular_value = max(s),
|
||||
|
||||
Reference in New Issue
Block a user