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

View source: R/symsolve.R

symsolveR 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

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

solve

Examples

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

fda documentation built on May 29, 2024, 11:26 a.m.