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
Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.
Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.
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.