View source: R/HelperFunctions.R
compute_gram_block_diagonal | R Documentation |
Compute Gram Matrix for Block Diagonal Structure
compute_gram_block_diagonal(
list_in,
parallel,
cl,
chunk_size,
num_chunks,
rem_chunks
)
list_in |
List of matrices |
parallel |
Use parallel processing |
cl |
Cluster object |
chunk_size |
Chunk size for parallel |
num_chunks |
Number of chunks |
rem_chunks |
Remaining chunks |
For a list of matrices, will compute the gram matrix of each element of the list.
List of Gram matrices (\textbf{X}^{T}\textbf{X}
) for each block
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.