This function generates the continuous Gaussian wavelet function with the order up to 8. It has no scaling function. Since Gaussian wavelet has theoretically unlimited support, the function range has to be defined with [low, high].
function wavGaussian import Modelica.Constants.*; input Real low = -5 "Lower boundary of the function"; input Real high = 5 "Higher boundary of the function"; input Integer order = 1 "Order of the derivative, <=8"; input Integer points = 32 "Number of data points of the returned functions"; output Real x[points] "Regular grid"; output Real psi[points] "Wavelet function"; end wavGaussian;