main/sc/source/core/tool/interpr5.cxx
// Euclidean norm of row index R starting in column index C;
// matrix A has count N columns.
Euclidean norm of row index R starting in column index C;
matrix A has count N columns.
Euclidean norm of row index R starting in column index C ; matrix A has count N columns .
double lcl_TGetColumnEuclideanNorm( ScMatrixRef pMatA, SCSIZE nR, SCSIZE nC, SCSIZE nN )
{
    double fNorm = 0.0;
    for (SCSIZE col=nC; col<nN; col++)
        fNorm  += (pMatA->GetDouble(col,nR)) * (pMatA->GetDouble(col,nR));
    return sqrt(fNorm);
            }
double lcl_TGetColumnEuclideanNorm ( ScMatrixRef pMatA , SCSIZE nR , SCSIZE nC , SCSIZE nN ) { double fNorm = 0.0 ; for ( SCSIZE col = nC ; col < nN ; col ++ ) fNorm += ( pMatA -> GetDouble ( col , nR ) ) * ( pMatA -> GetDouble ( col , nR ) ) ; return sqrt ( fNorm ) ; }
Euclidean norm of row index R starting in column index C;
matrix A has count N columns.
Euclidean norm of row index R starting in column index C ; matrix A has count N columns .