checkintrfr | R Documentation |
r f_r(r)
This function is auxiliary to polyCub.iso
.
The (analytical) integral of r f_r(r)
from 0 to R
is checked
against a numeric approximation using integrate
for various
values of the upper bound R
. A warning is issued if inconsistencies
are found.
checkintrfr(intrfr, f, ..., center, control = list(), rs = numeric(0L),
tolerance = control$rel.tol)
intrfr |
a |
f |
a two-dimensional real-valued function. As its first argument it must take a coordinate matrix, i.e., a numeric matrix with two columns, and it must return a numeric vector of length the number of coordinates. |
... |
further arguments for |
center |
numeric vector of length 2, the center of isotropy. |
control |
list of arguments passed to |
rs |
numeric vector of upper bounds for which to check the validity of
|
tolerance |
of |
The intrfr
function. If it was not supplied, its quadrature
version using integrate
is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.