inla.mesh.1d.bary {INLA} | R Documentation

## Mapping matrix for 1D meshes

### Description

since `⁠23.08.18⁠`. Use `fmesher::fm_basis()` instead.

Calculates barycentric coordinates and weight matrices for `inla.mesh.1d()` objects.

### Usage

    inla.mesh.1d.bary(mesh, loc, method = c("linear", "nearest"))

    inla.mesh.1d.A(mesh, loc, weights = NULL, derivatives = NULL, method = NULL)

### Arguments

`mesh` | An `inla.mesh.1d()` object.
`loc` | Coordinate values.
`method` | Interpolation method. If not specified for `inla.mesh.1d.A` (recommended), it is determined by the `mesh` basis function properties.
`weights` | Weights to be applied to the `A` matrix rows.
`derivatives` | If `TRUE`, also compute derivative weight matrices `dA` and `d2A`.

### Functions

- `inla.mesh.1d.bary()`: since `⁠23.08.18⁠`. Use `fmesher::fm_bary()` instead.

### Author(s)

Finn Lindgren finn.lindgren@gmail.com

[Package INLA version 26.08.22 Index]