Description Usage Arguments Details Value Author(s) Examples
this routine discretizes a value corresponding to the desired method
1 | discretize_cpp(val, N_discr, domain, method)
|
val |
double - real value to be discretized |
N_discr |
integer - desired discretization |
domain |
vector of double - vector with two components containing the domain bounds |
method |
integer - discretize with 1...round routine, or 2...custom method |
This routine is implemented in C++
double - discretized value
J.C. Lemm, P. v.W. Crommelin
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.