Forward Haar transform.
ht(x)
x
data vector of (binomial) observations, of length a power of two.
The procedure performs the Haar wavelet transform on the data x.
ht.inv
x<-rbinom(256,32,.35) ht(x)