User Portlet User Portlet

Discussions
I want to write a program in which I will read values from a loop e.g. $a_k = \cos{nk/N}$, where the loop will run from *1* to *N* and feed $a_k$ at each step into a matrix. Then I want to use those values to diagonalize the matrix.