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

symsolve {fda} | R Documentation

## 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

    A <- matrix(c(2,1,1,2), 2)
    Ainv <- symsolve(A, diag(2))

[Package fda version 2.4.8 Index]