main/sc/source/core/tool/interpr5.cxx
// Special version for use within QR decomposition.
// Maximum norm of column index C starting in row index R;
// matrix A has count N rows.
Special version for use within QR decomposition.
Maximum norm of column index C starting in row index R;
matrix A has count N rows.
Special version for use within QR decomposition . Maximum norm of column index C starting in row index R ; matrix A has count N rows .
double lcl_GetColumnMaximumNorm( ScMatrixRef pMatA, SCSIZE nC, SCSIZE nR, SCSIZE nN )
{
    double fNorm = 0.0;
    for (SCSIZE row=nR; row<nN; row++)
        if (fNorm < fabs(pMatA->GetDouble(nC,row)))
            fNorm = fabs(pMatA->GetDouble(nC,row));
    return fNorm;
}
double lcl_GetColumnMaximumNorm ( ScMatrixRef pMatA , SCSIZE nC , SCSIZE nR , SCSIZE nN ) { double fNorm = 0.0 ; for ( SCSIZE row = nR ; row < nN ; row ++ ) if ( fNorm < fabs ( pMatA -> GetDouble ( nC , row ) ) ) fNorm = fabs ( pMatA -> GetDouble ( nC , row ) ) ; return fNorm ; }
Special version for use within QR decomposition.
Special version for use within QR decomposition .