eff_kern | R Documentation |
Computes moments of kernels on \mathcal{S}^{d_1} \times
\cdots \times \mathcal{S}^{d_r}
and efficiencies of kernels on
(\mathcal{S}^d)^r
.
eff_kern(d, r, k = 10, kernel, kernel_type = c("prod", "sph")[1],
kernel_ref = "2", kernel_ref_type = c("prod", "sph")[2], ...)
b_d(kernel, d, k = 10, kernel_type = c("prod", "sph")[1], ...)
v_d(kernel, d, k = 10, kernel_type = c("prod", "sph")[1], ...)
d |
a scalar with the common dimension of each sphere
|
r |
a scalar with the number of polyspheres of the same dimension. |
k |
softplus kernel parameter. Defaults to |
kernel |
kernel employed: |
kernel_type |
type of kernel. Must be either |
kernel_ref |
reference kernel to which compare the efficiency. Uses the
same codification as the |
kernel_ref_type |
type of the reference kernel. Must be either
|
... |
further arguments passed to |
b_d
: a vector with the first kernel moment on each sphere
(common if kernel_type = "sph"
).
v_d
: a vector with the second kernel moment if
kernel_type = "prod"
, or a scalar if kernel_type = "sph"
.
eff_kern
: a scalar with the kernel efficiency.
# Kernel moments
b_d(kernel = 2, d = c(2, 3), kernel_type = "prod")
v_d(kernel = 2, d = c(2, 3), kernel_type = "prod")
b_d(kernel = 2, d = c(2, 3), kernel_type = "sph")
v_d(kernel = 2, d = c(2, 3), kernel_type = "sph")
# Kernel efficiencies
eff_kern(d = 2, r = 1, kernel = "1")
eff_kern(d = 2, r = 1, kernel = "2")
eff_kern(d = 2, r = 1, k = 10, kernel = "3")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.