kernel6: Order 6 kernel

View source: R/rmargint-fn.R

kernel6R Documentation

Order 6 kernel

Description

This function evaluates a kernel of order 6.

Usage

kernel6(x)

Arguments

x

A vector of real numbers.

Details

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

Value

A vector of the same length as x where each entry is ( 105/256 ) * ( 1 - x^2 ) * ( 5 - 30 * x^2 + 33 * x^4 ) if abs(x) < 1 and 0 otherwise.

Author(s)

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

Examples

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


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