Lines Matching refs:N

2222                         SCSIZE& N, ScMatrixRef& pMatX, ScMatrixRef& pMatY)  in CheckMatrix()  argument
2230 N = 0; in CheckMatrix()
2273 N = nCountY; in CheckMatrix()
2290 N = nRY; in CheckMatrix()
2302 N = nCY; in CheckMatrix()
2319 N = nCountY; in CheckMatrix()
2400 SCSIZE K = 0, N = 0; // K=number of variables X, N=number of data samples in CalulateRGPRKP() local
2401 if ( !CheckMatrix(_bRKP,nCase,nCX,nCY,nRX,nRY,K,N,pMatX,pMatY) ) in CalulateRGPRKP()
2408 if ( (bConstant && (N<K+1)) || (!bConstant && (N<K)) || (N<1) || (K<1) ) in CalulateRGPRKP()
2450 fMeanY = lcl_GetMeanOverAll(pMatY, N); in CalulateRGPRKP()
2451 for (SCSIZE i=0; i<N; i++) in CalulateRGPRKP()
2463 fMeanX = lcl_GetMeanOverAll(pMatX, N); in CalulateRGPRKP()
2464 for (SCSIZE i=0; i<N; i++) in CalulateRGPRKP()
2469 double fSumXY = lcl_GetSumProduct(pMatX,pMatY,N); in CalulateRGPRKP()
2470 double fSumX2 = lcl_GetSumProduct(pMatX,pMatX,N); in CalulateRGPRKP()
2488 double fDegreesFreedom =static_cast<double>( (bConstant) ? N-2 : N-1 ); in CalulateRGPRKP()
2491 double fSSresid = lcl_GetSSresid(pMatX,pMatY,fSlope,N); in CalulateRGPRKP()
2523 * sqrt(fMeanX*fMeanX/fSumX2 + 1.0/static_cast<double>(N)); in CalulateRGPRKP()
2543 ::std::vector< double> aVecR(N); // for QR decomposition in CalulateRGPRKP()
2559 lcl_CalculateColumnMeans(pMatX, pMeans, K, N); in CalulateRGPRKP()
2560 lcl_CalculateColumnsDelta(pMatX, pMeans, K, N); in CalulateRGPRKP()
2562 if (!lcl_CalculateQRdecomposition(pMatX, aVecR, K, N)) in CalulateRGPRKP()
2580 lcl_ApplyHouseholderTransformation(pMatX, col, pMatZ, N); in CalulateRGPRKP()
2604 pMatZ->FillDouble(0.0, 0, 0, 0, N-1); in CalulateRGPRKP()
2610 lcl_ApplyHouseholderTransformation(pMatX, colp1-1, pMatZ,N); in CalulateRGPRKP()
2612 fSSreg =lcl_GetSumProduct(pMatZ, pMatZ, N); in CalulateRGPRKP()
2614 for (SCSIZE row = 0; row < N; row++) in CalulateRGPRKP()
2616 fSSresid = lcl_GetSumProduct(pMatY, pMatY, N); in CalulateRGPRKP()
2620 double fDegreesFreedom =static_cast<double>( (bConstant) ? N-K-1 : N-K ); in CalulateRGPRKP()
2684 * sqrt(fSigmaIntercept + 1.0 / static_cast<double>(N)); in CalulateRGPRKP()
2700 ::std::vector< double> aVecR(N); // for QR decomposition in CalulateRGPRKP()
2716 lcl_CalculateRowMeans(pMatX, pMeans, N, K); in CalulateRGPRKP()
2717 lcl_CalculateRowsDelta(pMatX, pMeans, N, K); in CalulateRGPRKP()
2720 if (!lcl_TCalculateQRdecomposition(pMatX, aVecR, K, N)) in CalulateRGPRKP()
2739 lcl_TApplyHouseholderTransformation(pMatX, row, pMatZ, N); in CalulateRGPRKP()
2763 pMatZ->FillDouble(0.0, 0, 0, N-1, 0); in CalulateRGPRKP()
2769 lcl_TApplyHouseholderTransformation(pMatX, rowp1-1, pMatZ,N); in CalulateRGPRKP()
2771 fSSreg =lcl_GetSumProduct(pMatZ, pMatZ, N); in CalulateRGPRKP()
2773 for (SCSIZE col = 0; col < N; col++) in CalulateRGPRKP()
2775 fSSresid = lcl_GetSumProduct(pMatY, pMatY, N); in CalulateRGPRKP()
2779 double fDegreesFreedom =static_cast<double>( (bConstant) ? N-K-1 : N-K ); in CalulateRGPRKP()
2843 * sqrt(fSigmaIntercept + 1.0 / static_cast<double>(N)); in CalulateRGPRKP()
2933 SCSIZE K = 0, N = 0; // K=number of variables X, N=number of data samples in CalculateTrendGrowth() local
2934 if ( !CheckMatrix(_bGrowth,nCase,nCX,nCY,nRX,nRY,K,N,pMatX,pMatY) ) in CalculateTrendGrowth()
2941 if ( (bConstant && (N<K+1)) || (!bConstant && (N<K)) || (N<1) || (K<1) ) in CalculateTrendGrowth()
3003 fMeanY = lcl_GetMeanOverAll(pMatY, N); in CalculateTrendGrowth()
3004 for (SCSIZE i=0; i<N; i++) in CalculateTrendGrowth()
3016 fMeanX = lcl_GetMeanOverAll(pMatX, N); in CalculateTrendGrowth()
3017 for (SCSIZE i=0; i<N; i++) in CalculateTrendGrowth()
3022 double fSumXY = lcl_GetSumProduct(pMatX,pMatY,N); in CalculateTrendGrowth()
3023 double fSumX2 = lcl_GetSumProduct(pMatX,pMatX,N); in CalculateTrendGrowth()
3054 ::std::vector< double> aVecR(N); // for QR decomposition in CalculateTrendGrowth()
3065 lcl_CalculateColumnMeans(pMatX, pMeans, K, N); in CalculateTrendGrowth()
3066 lcl_CalculateColumnsDelta(pMatX, pMeans, K, N); in CalculateTrendGrowth()
3068 if (!lcl_CalculateQRdecomposition(pMatX, aVecR, K, N)) in CalculateTrendGrowth()
3086 lcl_ApplyHouseholderTransformation(pMatX, col, pMatY, N); in CalculateTrendGrowth()
3113 ::std::vector< double> aVecR(N); // for QR decomposition in CalculateTrendGrowth()
3124 lcl_CalculateRowMeans(pMatX, pMeans, N, K); in CalculateTrendGrowth()
3125 lcl_CalculateRowsDelta(pMatX, pMeans, N, K); in CalculateTrendGrowth()
3127 if (!lcl_TCalculateQRdecomposition(pMatX, aVecR, K, N)) in CalculateTrendGrowth()
3145 lcl_TApplyHouseholderTransformation(pMatX, row, pMatY, N); in CalculateTrendGrowth()