| .nns_fd_weights | R Documentation |
Construct polynomial finite-difference weights on distinct local nodes. Invalid or degenerate stencils return NA coefficients.
.nns_fd_weights(nodes, at, degree = 1L)
nodes |
Numeric vector of distinct stencil coordinates. |
at |
Numeric evaluation coordinate. |
degree |
Integer derivative order; defaults to 1. |
Numeric vector of finite-difference weights, or NA coefficients when the stencil is invalid.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.