fn linear_curve_parametric<T: PointeeSizeExpressible, const N: usize, const BIT_DEPTH: usize>( params: &[f32], ) -> Option<Box<[f32; N]>>