powered by
Evaluate the Bartlett kernel function: \(Bartlett(x)=1-|x|\) if \(|x|\leq 1\) and \(Bartlett(x)=1-|x|\) otherwise.
Bartlett(x)
A single numeric between 0 and 1.
A single numeric.
Bartlett(0.5)
Run the code above in your browser using DataLab