rSPDE.fem1d | R Documentation |
This function computes mass and stiffness matrices for a FEM approximation on R, assuming Neumann boundary conditions. These matrices are needed when discretizing the operators in rational approximations.
rSPDE.fem1d(x)
x |
Locations of the nodes in the FEM approximation. |
The function returns a list with the following elements
G |
The stiffness matrix. |
C |
The mass matrix. |
David Bolin davidbolin@gmail.com
rSPDE.A1d()
# create mass and stiffness matrices for a FEM discretization on [0,1]
x <- seq(from = 0, to = 1, length.out = 101)
fem <- rSPDE.fem1d(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.