inverse_sum_matrices | R Documentation |
Calculation of the inverse of a sum of a list of matrices
inverse_sum_matrices(matrices)
matrices |
list of matrices (of same dimension) |
the inverse of the sum of the matrices
m1 <- matrix(c(1,2,3,4), nrow = 2, ncol = 2) m2 <- matrix(c(5,6,7,8), nrow = 2, ncol = 2) m3 <- matrix(c(9,10,11,12), nrow = 2, ncol = 2) inverse_sum_matrices(list(m1, m2, m3)) # returns the same as using solve() in R solve(m1+m2+m3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.