Learn R Programming

fda (version 6.2.0)

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

Description

Solve A X = B for X where A is symmetric

Usage

symsolve(Asym, Bmat)

Value

A square matrix of the same dimenions as Asym and Bmat

Arguments

Asym

a symmetric matrix

Bmat

a square matrix of dimensions matching Asym

References

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.

See Also

Examples

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

Run the code above in your browser using DataLab