function smooth<RealArrayOrRecord> parameter input Integer p; input RealArrayOrRecord expr; output RealArrayOrRecord s; end smooth;