symsolve | R Documentation |
Solve A X = B for X where A is symmetric
symsolve(Asym, Bmat)
Asym |
a symmetric matrix |
Bmat |
a square matrix of dimensions matching Asym |
A square matrix of the same dimenions as Asym and Bmat
solve
A <- matrix(c(2,1,1,2), 2)
Ainv <- symsolve(A, diag(2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.