main/sc/source/core/tool/interpr5.cxx
// <A;B> over all elements; uses the matrices as vectors of length M
 over all elements; uses the matrices as vectors of length M
over all elements ; uses the matrices as vectors of length M
double lcl_GetSumProduct( ScMatrixRef pMatA, ScMatrixRef pMatB, SCSIZE nM )
{
    double fSum = 0.0;
    for (SCSIZE i=0; i<nM; i++)
        fSum += pMatA->GetDouble(i) * pMatB->GetDouble(i);
    return fSum;
}
double lcl_GetSumProduct ( ScMatrixRef pMatA , ScMatrixRef pMatB , SCSIZE nM ) { double fSum = 0.0 ; for ( SCSIZE i = 0 ; i < nM ; i ++ ) fSum += pMatA -> GetDouble ( i ) * pMatB -> GetDouble ( i ) ; return fSum ; }
<A;B> over all elements; uses the matrices as vectors of length M
<A ; B > over all elements ; uses the matrices as vectors of length M