Lines Matching refs:j

182                             for ( SCSIZE j = 0; j < nCount; j++ )  in ScGCD()  local
184 if (!pMat->IsValue(j)) in ScGCD()
189 fx = ::rtl::math::approxFloor( pMat->GetDouble(j)); in ScGCD()
274 for ( SCSIZE j = 0; j < nCount; j++ ) in ScLCM() local
276 if (!pMat->IsValue(j)) in ScLCM()
281 fx = ::rtl::math::approxFloor( pMat->GetDouble(j)); in ScLCM()
682 for (SCSIZE j=0; j < n; ++j) in lcl_LUP_decompose() local
684 double fTmp = fabs( mA->GetDouble( j, i)); in lcl_LUP_decompose()
740 for (SCSIZE j = k+1; j < n; ++j) in lcl_LUP_decompose() local
741 mA->PutDouble( mA->GetDouble( j, i) - fTmp * mA->GetDouble( j, in lcl_LUP_decompose()
742 k), j, i); in lcl_LUP_decompose()
749 for (SCSIZE j=0; j < n; ++j) in lcl_LUP_decompose() local
750 fprintf( stderr, "%8.2g ", mA->GetDouble( j, i)); in lcl_LUP_decompose()
754 for (SCSIZE j=0; j < n; ++j) in lcl_LUP_decompose() local
755 fprintf( stderr, "%5u ", (unsigned)P[j]); in lcl_LUP_decompose()
790 for (SCSIZE j = nFirst; j < i; ++j) in lcl_LUP_solve() local
791 fSum -= mLU->GetDouble( j, i) * X[j]; // X[j] === y[j] in lcl_LUP_solve()
801 for (SCSIZE j = i+1; j < n; ++j) in lcl_LUP_solve() local
802 fSum -= mLU->GetDouble( j, i) * X[j]; // X[j] === x[j] in lcl_LUP_solve()
901 for (SCSIZE j=0; j < nR; ++j) in ScMatInv() local
905 B[j] = 1.0; in ScMatInv()
908 pY->PutDouble( X[i], j, i); in ScMatInv()
938 for (SCSIZE j=0; j < nR; ++j) in ScMatInv()
940 double fTmp = pR->GetDouble( j, i); in ScMatInv()
944 if (fabs( fTmp - (i == j)) > fInvEpsilon) in ScMatInv()
989 for (SCSIZE j = 0; j < nC2; j++) in ScMatMult() local
994 sum += pMat1->GetDouble(k,i)*pMat2->GetDouble(j,k); in ScMatMult()
996 pRMat->PutDouble(sum, j, i); in ScMatMult()
1060 SCSIZE i, j; in lcl_MatrixCalculation() local
1071 for (j = 0; j < nMinR; j++) in lcl_MatrixCalculation()
1073 if (pMat1->IsValueOrEmpty(i,j) && pMat2->IsValueOrEmpty(i,j)) in lcl_MatrixCalculation()
1075 double d = _pOperation(pMat1->GetDouble(i,j),pMat2->GetDouble(i,j)); in lcl_MatrixCalculation()
1076 pResMat->PutDouble( d, i, j); in lcl_MatrixCalculation()
1079 pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i, j); in lcl_MatrixCalculation()
1091 SCSIZE i, j; in MatConcat() local
1102 for (j = 0; j < nMinR; j++) in MatConcat()
1104 sal_uInt16 nErr = pMat1->GetErrorIfNotString( i, j); in MatConcat()
1106 nErr = pMat2->GetErrorIfNotString( i, j); in MatConcat()
1108 pResMat->PutError( nErr, i, j); in MatConcat()
1111 String aTmp( pMat1->GetString( *pFormatter, i, j)); in MatConcat()
1112 aTmp += pMat2->GetString( *pFormatter, i, j); in MatConcat()
1113 pResMat->PutString( aTmp, i, j); in MatConcat()
1679 for (SCSIZE j = 0; j < nCount; j++) in ScSumProduct() local
1681 if (!pMat->IsString(j)) in ScSumProduct()
1682 fSum += pMat->GetDouble(j); in ScSumProduct()
1700 SCSIZE i, j; in CalculateSumX2MY2SumX2DY2() local
1719 for (j = 0; j < nR1; j++) in CalculateSumX2MY2SumX2DY2()
1720 if (!pMat1->IsString(i,j) && !pMat2->IsString(i,j)) in CalculateSumX2MY2SumX2DY2()
1722 fVal = pMat1->GetDouble(i,j); in CalculateSumX2MY2SumX2DY2()
1724 fVal = pMat2->GetDouble(i,j); in CalculateSumX2MY2SumX2DY2()
1822 SCSIZE j; in ScFrequency() local
1824 for (j = 0; j < nBinSize; ++j) in ScFrequency()
1827 while (i < nDataSize && aDataArray[i] <= aBinArray[j]) in ScFrequency()
1832 pResMat->PutDouble(static_cast<double>(nCount), aBinIndexOrder[j]); in ScFrequency()
1834 pResMat->PutDouble(static_cast<double>(nDataSize-i), j); in ScFrequency()