calcNearestOrthoMatrix | R Documentation |
Function to compute nearest orthogonal matrix to a set of matrices.
calcNearestOrthoMatrix(mat_list)
mat_list |
A list of numeric matrices |
orthogonal matrix
set.seed(1231) mymat <- createRandomMatrices(n = 3, ncols = 3, nrows = 3) nearest_ortho <- calcNearestOrthoMatrix(mymat) print(nearest_ortho %*% t(nearest_ortho))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.