If FALSE then a wavelet is used in the
moment calculation, alternatively if TRUE the associated
scaling function is used.
Value
An object of class integrate containing the integral and other
pieces of interesting information about the moments calculation.
Details
Given a wavelet \(\psi(x)\) this function computes the
mth moment \(\int x^m \psi(x) \, dx\).
Note that for low order moments the integration function often fails for
the usual numerical reasons (this never happened in S!). It might be that
fiddling with the tolerances will improve this situation.