kernel8: Order 8 kernel

View source: R/rmargint-fn.R

kernel8R Documentation

Order 8 kernel

Description

This function evaluates a kernel of order 8.

Usage

kernel8(x)

Arguments

x

A vector of real numbers.

Details

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

Value

A vector of the same length as x where each entry is ( 315/4096 ) * ( 1 - x^2 ) * ( 35 - 385 * x^2 + 1001 * x^4 - 715 * x^6 ) and 0 otherwise.

Author(s)

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

Examples

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

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