Nothing
`sinc` <-
function(X)
{
# copy X to Y, so Y has same format as X
Y <- X
# find zero elements in X
Z <- X == 0
Y[Z] <- 1 # sinc(0) = 1
Y[!Z] <- sin(pi*X[!Z]) / (pi*X[!Z]) # sinc(x) = sin(x)/x for x != 0
return(Y)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.