create_matrices_Matern: Create matrices for Matern.

View source: R/operator.R

create_matrices_MaternR Documentation

Create matrices for Matern.

Description

A function to create matrices for Matern 1D (longitudinal) operator.

Usage

create_matrices_Matern(
  locs,
  n,
  right.boundary = "neumann",
  left.boundary = "neumann",
  common.grid = FALSE,
  extend = NULL,
  max.dist,
  cutoff = 1e-10,
  n.cores = 1,
  name = "matern",
  beta = 1
)

Arguments

locs

A numeric list for the meansurement locations.

n

A numeric value for the number of FEM basis functions that should be used.

right.boundary

A character string denoting the boundary condition for the right boundary.

left.boundary

A character string denoting the boundary condition for the left boundary.

common.grid

A logical variable for using a common grid for all subjects, "TRUE" indicates using a common grid, "FALSE" uncommon grids.

extend

A numeric vector with two elements specifying the amount of extension of the grid to the left and right beyondthe measurement locations.

max.dist

A numeric value for largest distance between nodes in the discretization

name

A character string for the operator type, possible options are "matern", "exponential" and "fd2".

Details

This is a supplementary function to be used internally by other functions.

Value

Returns matrices.

See Also

create_operator

Examples

  ## Not run: 
  create_matrices_Matern(...)
  
## End(Not run)


davidbolin/ngme documentation built on Dec. 5, 2023, 11:48 p.m.