Question: Programming a particular Matrix product

Hello,

I have a matrix K.

K:=Matrix([<0, -1, 1, -1>,<-1, 0, -1, 1>,<-1, 1, 0,-1>,<1, -1, -1,0>]);

I would like to program this operation :

May you help me to code this operation?

Thanks a lot for your help

Please Wait...