Compute Andrews' curves
input a new parameter
This function takes a numeric vector of input, and returns a function which allows you to compute the value of the Andrew's curve at every point along its path from -pi to pi.
a function with single argument, theta
1 2 3 4 5 6 7 8