Diagonal Difference

  • + 0 comments

    Explain j+k == (numInputs-1) ?? For every matrix element ajk. When j+k would be equal to numInputs+1, then and only then it is right Diagonal. For example, in matrix of three, every element with j+k=4 (where 4 is numInput 3 + 1). Kindly explain this to me.

    a11 b12 c21 c22

    Here 1+2 and 2+1 = 3.