Lines Matching refs:ScMatrixRef
172 ScMatrixRef pMat = PopMatrix(); in ScGCD()
264 ScMatrixRef pMat = PopMatrix(); in ScLCM()
303 ScMatrixRef ScInterpreter::GetNewMat(SCSIZE nC, SCSIZE nR) in GetNewMat()
322 ScMatrixRef ScInterpreter::CreateMatrixFromDoubleRef( const FormulaToken* pToken, in CreateMatrixFromDoubleRef()
327 ScMatrixRef pMat = NULL; in CreateMatrixFromDoubleRef()
445 ScMatrixRef ScInterpreter::GetMatrix() in GetMatrix()
448 ScMatrixRef pMat = NULL; in GetMatrix()
589 ScMatrixRef pMat = PopMatrix(); in ScMatValue()
634 ScMatrixRef pRMat = GetNewMat(nDim, nDim); in ScEMat()
819 ScMatrixRef pMat = GetMatrix(); in ScMatDet()
837 ScMatrixRef xLU = pMat->Clone(); in ScMatDet()
866 ScMatrixRef pMat = GetMatrix(); in ScMatInv()
884 ScMatrixRef xLU = pMat->Clone(); in ScMatInv()
886 ScMatrixRef xY = GetNewMat( nR, nR); in ScMatInv()
928 ScMatrixRef xR = GetNewMat( nR, nR); in ScMatInv()
968 ScMatrixRef pMat2 = GetMatrix(); in ScMatMult()
969 ScMatrixRef pMat1 = GetMatrix(); in ScMatMult()
970 ScMatrixRef pRMat; in ScMatMult()
1018 ScMatrixRef pMat = GetMatrix(); in ScMatTrans()
1019 ScMatrixRef pRMat; in ScMatTrans()
1056 ScMatrixRef lcl_MatrixCalculation(const _Function& _pOperation,ScMatrix* pMat1, ScMatrix* pMat2,ScI… in lcl_MatrixCalculation()
1065 ScMatrixRef xResMat = _pIterpreter->GetNewMat(nMinC, nMinR); in lcl_MatrixCalculation()
1086 ScMatrixRef ScInterpreter::MatConcat(ScMatrix* pMat1, ScMatrix* pMat2) in MatConcat()
1096 ScMatrixRef xResMat = GetNewMat(nMinC, nMinR); in MatConcat()
1158 ScMatrixRef pMat1 = NULL; in CalculateAddSub()
1159 ScMatrixRef pMat2 = NULL; in CalculateAddSub()
1210 ScMatrixRef pResMat; in CalculateAddSub()
1231 ScMatrixRef pMat = pMat1; in CalculateAddSub()
1245 ScMatrixRef pResMat = GetNewMat(nC, nR); in CalculateAddSub()
1293 ScMatrixRef pMat1 = NULL; in ScAmpersand()
1294 ScMatrixRef pMat2 = NULL; in ScAmpersand()
1306 ScMatrixRef pResMat = MatConcat(pMat1, pMat2); in ScAmpersand()
1316 ScMatrixRef pMat = pMat1; in ScAmpersand()
1330 ScMatrixRef pResMat = GetNewMat(nC, nR); in ScAmpersand()
1391 ScMatrixRef pMat1 = NULL; in ScMul()
1392 ScMatrixRef pMat2 = NULL; in ScMul()
1425 ScMatrixRef pResMat = lcl_MatrixCalculation(aMul,pMat1, pMat2,this); in ScMul()
1434 ScMatrixRef pMat = pMat1; in ScMul()
1444 ScMatrixRef pResMat = GetNewMat(nC, nR); in ScMul()
1470 ScMatrixRef pMat1 = NULL; in ScDiv()
1471 ScMatrixRef pMat2 = NULL; in ScDiv()
1500 ScMatrixRef pResMat = lcl_MatrixCalculation(aDiv,pMat1, pMat2,this); in ScDiv()
1510 ScMatrixRef pMat = pMat1; in ScDiv()
1524 ScMatrixRef pResMat = GetNewMat(nC, nR); in ScDiv()
1568 ScMatrixRef pMat1 = NULL; in ScPow()
1569 ScMatrixRef pMat2 = NULL; in ScPow()
1582 ScMatrixRef pResMat = lcl_MatrixCalculation(aPow,pMat1, pMat2,this); in ScPow()
1592 ScMatrixRef pMat = pMat1; in ScPow()
1606 ScMatrixRef pResMat = GetNewMat(nC, nR); in ScPow()
1640 ScMatrixRef pMat1 = NULL; in ScSumProduct()
1641 ScMatrixRef pMat2 = NULL; in ScSumProduct()
1642 ScMatrixRef pMat = NULL; in ScSumProduct()
1668 ScMatrixRef pResMat = lcl_MatrixCalculation(aMul,pMat1, pMat,this); in ScSumProduct()
1698 ScMatrixRef pMat1 = NULL; in CalculateSumX2MY2SumX2DY2()
1699 ScMatrixRef pMat2 = NULL; in CalculateSumX2MY2SumX2DY2()
1745 ScMatrixRef pMat1 = NULL; in ScSumXMY2()
1746 ScMatrixRef pMat2 = NULL; in ScSumXMY2()
1764 ScMatrixRef pResMat = lcl_MatrixCalculation(aSub,pMat1, pMat2,this); in ScSumXMY2()
1809 ScMatrixRef pResMat = GetNewMat(1, nBinSize+1); in ScFrequency()
1847 void lcl_MFastMult( ScMatrixRef pA, ScMatrixRef pB, ScMatrixRef pR, SCSIZE n, SCSIZE m, SCSIZE l ) in lcl_MFastMult()
1863 double lcl_GetSumProduct( ScMatrixRef pMatA, ScMatrixRef pMatB, SCSIZE nM ) in lcl_GetSumProduct()
1874 double lcl_GetColumnEuclideanNorm( ScMatrixRef pMatA, SCSIZE nC, SCSIZE nR, SCSIZE nN ) in lcl_GetColumnEuclideanNorm()
1884 double lcl_TGetColumnEuclideanNorm( ScMatrixRef pMatA, SCSIZE nR, SCSIZE nC, SCSIZE nN ) in lcl_TGetColumnEuclideanNorm()
1895 double lcl_GetColumnMaximumNorm( ScMatrixRef pMatA, SCSIZE nC, SCSIZE nR, SCSIZE nN ) in lcl_GetColumnMaximumNorm()
1906 double lcl_TGetColumnMaximumNorm( ScMatrixRef pMatA, SCSIZE nR, SCSIZE nC, SCSIZE nN ) in lcl_TGetColumnMaximumNorm()
1918 double lcl_GetColumnSumProduct( ScMatrixRef pMatA, SCSIZE nCa, ScMatrixRef pMatB, in lcl_GetColumnSumProduct()
1929 double lcl_TGetColumnSumProduct( ScMatrixRef pMatA, SCSIZE nRa, in lcl_TGetColumnSumProduct()
1930 ScMatrixRef pMatB, SCSIZE nRb, SCSIZE nC, SCSIZE nN ) in lcl_TGetColumnSumProduct()
1957 bool lcl_CalculateQRdecomposition(ScMatrixRef pMatA, in lcl_CalculateQRdecomposition()
1996 bool lcl_TCalculateQRdecomposition(ScMatrixRef pMatA, in lcl_TCalculateQRdecomposition()
2041 void lcl_ApplyHouseholderTransformation(ScMatrixRef pMatA, SCSIZE nC, in lcl_ApplyHouseholderTransformation()
2042 ScMatrixRef pMatY, SCSIZE nN) in lcl_ApplyHouseholderTransformation()
2054 void lcl_TApplyHouseholderTransformation(ScMatrixRef pMatA, SCSIZE nR, in lcl_TApplyHouseholderTransformation()
2055 ScMatrixRef pMatY, SCSIZE nN) in lcl_TApplyHouseholderTransformation()
2072 void lcl_SolveWithUpperRightTriangle(ScMatrixRef pMatA, in lcl_SolveWithUpperRightTriangle()
2073 ::std::vector< double>& pVecR, ScMatrixRef pMatS, in lcl_SolveWithUpperRightTriangle()
2099 void lcl_SolveWithLowerLeftTriangle(ScMatrixRef pMatA, in lcl_SolveWithLowerLeftTriangle()
2100 ::std::vector< double>& pVecR, ScMatrixRef pMatT, in lcl_SolveWithLowerLeftTriangle()
2125 void lcl_ApplyUpperRightTriangle(ScMatrixRef pMatA, in lcl_ApplyUpperRightTriangle()
2126 ::std::vector< double>& pVecR, ScMatrixRef pMatB, in lcl_ApplyUpperRightTriangle()
2127 ScMatrixRef pMatZ, SCSIZE nK, bool bIsTransposed) in lcl_ApplyUpperRightTriangle()
2145 double lcl_GetMeanOverAll(ScMatrixRef pMat, SCSIZE nN) in lcl_GetMeanOverAll()
2155 void lcl_CalculateColumnMeans(ScMatrixRef pX, ScMatrixRef pResMat, in lcl_CalculateColumnMeans()
2170 void lcl_CalculateRowMeans(ScMatrixRef pX, ScMatrixRef pResMat, in lcl_CalculateRowMeans()
2183 void lcl_CalculateColumnsDelta(ScMatrixRef pMat, ScMatrixRef pColumnMeans, in lcl_CalculateColumnsDelta()
2192 void lcl_CalculateRowsDelta(ScMatrixRef pMat, ScMatrixRef pRowMeans, in lcl_CalculateRowsDelta()
2204 double lcl_GetSSresid(ScMatrixRef pMatX, ScMatrixRef pMatY, double fSlope, in lcl_GetSSresid()
2222 SCSIZE& N, ScMatrixRef& pMatX, ScMatrixRef& pMatY) in CheckMatrix()
2244 ScMatrixRef pNewY = pMatY->CloneIfConst(); in CheckMatrix()
2370 ScMatrixRef pMatX; in CalulateRGPRKP()
2387 ScMatrixRef pMatY; in CalulateRGPRKP()
2414 ScMatrixRef pResMat; in CalulateRGPRKP()
2440 ScMatrixRef pNewX = pMatX->CloneIfConst(); in CalulateRGPRKP()
2441 ScMatrixRef pNewY = pMatY->CloneIfConst(); in CalulateRGPRKP()
2545 ScMatrixRef pMeans = GetNewMat(K, 1); // mean of each column in CalulateRGPRKP()
2546 ScMatrixRef pMatZ; // for Q' * Y , inter alia in CalulateRGPRKP()
2551 ScMatrixRef pSlopes = GetNewMat(1,K); // from b1 to bK in CalulateRGPRKP()
2702 ScMatrixRef pMeans = GetNewMat(1, K); // mean of each row in CalulateRGPRKP()
2703 ScMatrixRef pMatZ; // for Q' * Y , inter alia in CalulateRGPRKP()
2708 ScMatrixRef pSlopes = GetNewMat(K,1); // from b1 to bK in CalulateRGPRKP()
2888 ScMatrixRef pMatNewX; in CalculateTrendGrowth()
2904 ScMatrixRef pMatX; in CalculateTrendGrowth()
2920 ScMatrixRef pMatY; in CalculateTrendGrowth()
2973 ScMatrixRef pResMat; // size depends on nCase in CalculateTrendGrowth()
2993 ScMatrixRef pCopyX = pMatX->CloneIfConst(); in CalculateTrendGrowth()
2994 ScMatrixRef pCopyY = pMatY->CloneIfConst(); in CalculateTrendGrowth()
3056 ScMatrixRef pMeans = GetNewMat(K, 1); // mean of each column in CalculateTrendGrowth()
3057 ScMatrixRef pSlopes = GetNewMat(1,K); // from b1 to bK in CalculateTrendGrowth()
3115 ScMatrixRef pMeans = GetNewMat(1, K); // mean of each row in CalculateTrendGrowth()
3116 ScMatrixRef pSlopes = GetNewMat(K,1); // row from b1 to bK in CalculateTrendGrowth()