pub fn haar_transform_f32(data: &mut [f32]) -> StatusExpand description
In-place, orthogonal Haar Transform for f32: an O(n) multiresolution transform using
only additions, subtractions, and a sqrt(0.5) scale factor per stage, with no
trigonometric factors at all (unlike the Fourier/Hartley transforms).
data.len() must be a power of 2 (e.g. 2, 4, 8, …, 1024).