Skip to contents

This function calculates the scaled kernel Kb(v)=b1K(v/b)K_b(v) = b^{-1}K(v/b) where K(v)=max{1v}.K(v) = \max\{1 - |v|\}.

Usage

bartlett_uni(v, b)

Arguments

v

Input value.

b

Bandwidth.