main/sc/source/core/tool/interpr5.cxx
// <A(Ra);B(Rb)> starting in column index C;
// Ra and Rb are indices of rows, matrices A and B have count N columns.
 starting in column index C;
Ra and Rb are indices of rows, matrices A and B have count N columns.
starting in column index C ; Ra and Rb are indices of rows matrices A and B have count N columns .
double lcl_TGetColumnSumProduct( ScMatrixRef pMatA, SCSIZE nRa,
        ScMatrixRef pMatB, SCSIZE nRb, SCSIZE nC, SCSIZE nN )
{
    double fResult = 0.0;
    for (SCSIZE col=nC; col<nN; col++)
        fResult += pMatA->GetDouble(col,nRa) * pMatB->GetDouble(col,nRb);
    return fResult;
}
double lcl_TGetColumnSumProduct ( ScMatrixRef pMatA , SCSIZE nRa , ScMatrixRef pMatB , SCSIZE nRb , SCSIZE nC , SCSIZE nN ) { double fResult = 0.0 ; for ( SCSIZE col = nC ; col < nN ; col ++ ) fResult += pMatA -> GetDouble ( col , nRa ) * pMatB -> GetDouble ( col , nRb ) ; return fResult ; }
<A(Ra);B(Rb)> starting in column index C;
Ra and Rb are indices of rows, matrices A and B have count N columns.
<A ( Ra ) ; B ( Rb ) > starting in column index C ; Ra and Rb are indices of rows matrices A and B have count N columns .