1,β΅β΄0 creates a vector consisting of 1 , followed by β΅ zeros. Thus, the length of this vector is β΅+1 .
β΅ β΅ β΄ covers the matrix β΅ -by- β΅ . Copies of the vector will correspond from left to right and from top to bottom. The first copy will cover the entire first line and overflow in the second line, for example. for β΅=5 :
1 0 0 0 0 0 . . . . . . . . . . . . . . . . . . .
Now the second copy will come in slightly indented in the second line:
. . . . . . 1 0 0 0 0 0 . . . . . . . . . . . . .
etc. until we cover the whole matrix. This is not necessarily an accurate cover; the latest copy may be turned off. If you look at this process further, you will see that 1 -s will land on the main diagonal.
I do not know why this should be a better approach than one that uses an external product. Everything seems to be fine.
source share