This function computes and returns the coordinates of the piecewise polynomial described by Nason and Silverman, 1994. This function is a useful test function for evaluating wavelet shrinkage methodology as it contains smooth parts, a discontinuity and it is periodic.
(Nason, G.P. and Silverman, B.W. (1994) The discrete wavelet transform in
S, J. Comput. Graph. Statist., 3, 163--191.)