kernel10: Order 10 kernel

View source: R/rmargint-fn.R

kernel10R Documentation

Order 10 kernel

Description

This function evaluates a kernel of order 10. A kernel of order 10.

Usage

kernel10(x)

Arguments

x

A vector of real numbers.

Details

This function evaluates a kernel of order 10. A kernel L is a kernel of order 10 if it integrates 1, the integrals of u^j L(u) are 0 for 1 <= j < 10 (j integer) and the integral of u^10 L(u) is different from 0.

Value

A vector of the same length as x where each entry is 0.75 * ( 1 - x^2 ) * ( 315/128 - 105/32 * x^2 + 63/64 * x^4 - 3/32 * x^6 - 1/384 * x^8 ) and 0 otherwise.

Author(s)

Alejandra Martinez, ale_m_martinez@hotmail.com, Matias Salibian-Barrera

Examples

x <- seq(-2,2,length=10)
kernel10(x)


rmargint documentation built on Oct. 24, 2023, 1:06 a.m.