fda (version 2.4.4)

symsolve: solve(A, B) where A is symmetric

Description

Solve A X = B for X where A is symmetric

Usage

symsolve(Asym, Bmat)

Arguments

Asym

a symmetric matrix

Bmat

a square matrix of dimensions matching Asym

Value

A square matrix of the same dimenions as Asym and Bmat

See Also

solve

Examples

Run this code
# NOT RUN {
A <- matrix(c(2,1,1,2), 2)
Ainv <- symsolve(A, diag(2))
# }

Run the code above in your browser using DataCamp Workspace