create_matrices_FD2: Create matrices for Finite difference.

View source: R/operator.R

create_matrices_FD2R Documentation

Create matrices for Finite difference.

Description

A function to create matrices for Finite difference operator, one sided.

Usage

create_matrices_FD2(
  locs,
  common.grid = FALSE,
  extend = NULL,
  max.dist,
  cutoff = 1e-10,
  n.cores = 1,
  Y = NULL,
  loc.Y = NULL,
  max.dY = -1,
  nJump = 3
)

Arguments

locs

A numeric list for the meansurement locations.

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

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_FD2(...)
  
## End(Not run)


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