Description Usage Arguments Value Author(s) References See Also Examples
Approximate potential in one dimension
1 | approxPot1D(f, xs, V0 = "auto")
|
f |
One-dimensional representing the flow (right hand side of differential equation) |
xs |
Vector of positions to evaluate |
V0 |
(Optional) Value of V at first element of xs. When default, the global minimum is assigned 0 |
The potential estimated at each point in xs
Pablo Rodríguez-Sánchez (https://pabrod.github.io)
https://arxiv.org/abs/1903.05615
1 2 3 4 5 6 7 8 | # Flow
f = function(x) { sin(x) }
# Sampling points
xs <- seq(0, 2*pi, length.out = 1e3)
# Approximated potential
Vs <- approxPot1D(f, xs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.