Thanks very much.This will help.But I needed a definition with respect to kronicker delta function or some combinition of it,the definition of this function is:
f(i,j)=0 if i≠j & 1 if i=j.
As you can see it directly gives the elements of a general NbyN identity matrix.Now,my question is how I have to modify this function or combine(add,subtraction or multiply) it with itself to get the elements of a shift matrix?
f(i+1,j) will not do,because it fails to give the last row,similar problem arises if I try f((j+1) mod (N+1),j).
Is there a general formula at all?
After getting the formula,I have to write a Maple code using this formula to generate a upper shift matrix which takes the dimension(N) of the matrix as input.
You see my problem?I can't use the built-in facilities of Maple,while using Maple.