Курсовая работа: Розрахунок норм вектору
procedure transp (var op1: matrix_);
var i,j: size; tmpVal: real;
begin
for i: =1 to nmax do
for j: =i+1 to nmax do
begin
tmpVal: =op1 [i] [j];
op1 [i] [j]: =op1 [j] [i];
op1 [j] [i]: =tmpVal;
end;
end;
// ---------------- - longOfMatr - -------------------
function longOfMatr (op1: matrix_): real;
var i,j: size; tmpVal: real;
begin
tmpVal: =0;
for i: =1 to nmax do
for j: =1 to nmax do
tmpVal: =tmpVal+op1 [i] [j] *op1 [i] [j];
longOfMatr: =sqrt (tmpVal);
end;
// ----------------- - ijSumMax - --------------------
function ijMaxSum (op1: matrix_): real;
var i,j: size; tmpVal1,tmpVal2: real;
begin
for j: =1 to nmax do
tmpVal2: =tmpVal2+op1 [i] [j];
for i: =2 to nmax do
begin