Using nmod_poly_mat_kernel, for the left kernel of a m x 1 matrix (or very small n)
With NULL input shift, the default shift (nmod_poly_mat_row_degree) that is chosen may prove ineffective compared to a zero shift, especially when row degrees are unbalanced. With maximum degree 320 for example, and m=100, a time ratio of nearly 20 can be observed.
This suggests that the default shift may be worth considering, at least in some cases.
Using nmod_poly_mat_kernel, for the left kernel of a m x 1 matrix (or very small n)
With NULL input shift, the default shift (nmod_poly_mat_row_degree) that is chosen may prove ineffective compared to a zero shift, especially when row degrees are unbalanced. With maximum degree 320 for example, and m=100, a time ratio of nearly 20 can be observed.
This suggests that the default shift may be worth considering, at least in some cases.