E: the observation matrix such that each of its row has a block structure correlation matrix Sigma to estimate up to a permutation of its columns and rows.
v_ord: the absolute value of the upper triangular part matrix Γ (including its diagonal) order in increasing order
N: number of replication in the "cross-validation"
Returns
the number of non null values selected for the estimation of the covariance matrix
Details
In order to get the treshold one must do rev(v_ord)[cv_bl(E, v_ord, N=N)]