pub fn pivot_with_kernel( input: &PivotInput<'_>, kernel: Kernel, ) -> Result<PivotOutput, PivotError>