| forward_diff | R Documentation |
Forward finite difference approximation of order d
forward_diff(f, h, d)
f |
Numeric vector containing function values. |
h |
Step size (default = 1.0). |
d |
Order of the derivative (integer >= 1). |
Numeric vector of forward differences of order d (length n, last d elements = NA). #@examples #f <- c(0, 1, 4, 9, 16) #forward_diff(f = f, h = 1, d = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.