main/sc/source/core/tool/interpr5.cxx
// Special version for use within QR decomposition.
// <A(Ca);B(Cb)> starting in row index R;
// Ca and Cb are indices of columns, matrices A and B have count N rows.
Special version for use within QR decomposition.
 starting in row index R;
Ca and Cb are indices of columns, matrices A and B have count N rows.
Special version for use within QR decomposition . starting in row index R ; Ca and Cb are indices of columns matrices A and B have count N rows .
double lcl_GetColumnSumProduct( ScMatrixRef pMatA, SCSIZE nCa, ScMatrixRef pMatB,
        SCSIZE nCb, SCSIZE nR, SCSIZE nN )
{
    double fResult = 0.0;
    for (SCSIZE row=nR; row<nN; row++)
        fResult += pMatA->GetDouble(nCa,row) * pMatB->GetDouble(nCb,row);
    return fResult;
}
double lcl_GetColumnSumProduct ( ScMatrixRef pMatA , SCSIZE nCa , ScMatrixRef pMatB , SCSIZE nCb , SCSIZE nR , SCSIZE nN ) { double fResult = 0.0 ; for ( SCSIZE row = nR ; row < nN ; row ++ ) fResult += pMatA -> GetDouble ( nCa , row ) * pMatB -> GetDouble ( nCb , row ) ; return fResult ; }
Special version for use within QR decomposition.
Special version for use within QR decomposition .