• + 1 comment

    yes, the variable n is half the length of input matrix. say if the matrix is 6*6, value of n is 3.