Дипломная работа: Восьмиэлементные ассоциативные кольца
z2:=a[2,i]; a[2,i]:=a[y[2],i]; a[y[2],i]:=z2;
z3:=a[3,i]; a[3,i]:=a[y[3],i]; a[y[3],i]:=z3;
end;
for j:=0 to 7 do begin
z1:=a[j,1]; a[j,1]:=a[j,y[1]]; a[j,y[1]]:=z1;
z2:=a[j,2]; a[j,2]:=a[j,y[2]]; a[j,y[2]]:=z2;
z3:=a[j,3]; a[j,3]:=a[j,y[3]]; a[j,y[3]]:=z3;
end;
for i:=0 to 7 do
for j:=0 to 7 do begin
if a[i,j]=1 then a[i,j]:=-1;
if a[i,j]=y[1] then a[i,j]:=-y[1];
end;
for i:=0 to 7 do
for j:=0 to 7 do begin
if a[i,j]=-1 then a[i,j]:=y[1];
if a[i,j]=-y[1] then a[i,j]:=1;
end;
for i:=0 to 7 do
for j:=0 to 7 do begin
if a[i,j]=2 then a[i,j]:=-2;
if a[i,j]=y[2] then a[i,j]:=-y[2];
end;
for i:=0 to 7 do
for j:=0 to 7 do begin
if a[i,j]=-2 then a[i,j]:=y[2];
if a[i,j]=-y[2] then a[i,j]:=2;
end;
for i:=0 to 7 do