|
The blo Library
|
Statistics functions. More...
Namespaces | |
| namespace | blo |
| The blo library. | |
Functions | |
| template<typename T > | |
| const T | blo::normalPdf (const T &x, const T &mu, const T &sigma) |
| Normal probability density function. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::normalPdf (const double &x, const double &mu, const double &sigma) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::normalPdf (const float &x, const float &mu, const float &sigma) |
| template<typename T > | |
| const T | blo::normalPdf (const T *pSrcValue, const T *pSrcMean, const T *pSrcCov, int srcCovStride1, int srcCovStride2, int rowsCols) |
| Normal probability density function. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::normalPdf (const double *pSrcValue, const double *pSrcMean, const double *pSrcCov, int srcCovStride1, int srcCovStride2, int rowsCols) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::normalPdf (const float *pSrcValue, const float *pSrcMean, const float *pSrcCov, int srcCovStride1, int srcCovStride2, int rowsCols) |
| template<typename T > | |
| const T | blo::chiSquaredPdf (const T &x, const T &v) |
| Chi-squared probability density function. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::chiSquaredPdf (const double &x, const double &v) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::chiSquaredPdf (const float &x, const float &v) |
| template<typename T > | |
| const T | blo::normalCdf (const T &x, const T &mu, const T &sigma) |
| Normal cumulative distribution function. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::normalCdf (const double &x, const double &mu, const double &sigma) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::normalCdf (const float &x, const float &mu, const float &sigma) |
| template<typename T > | |
| const T | blo::chiSquaredCdf (const T &x, const T &v) |
| Chi-squared cumulative distribution function. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::chiSquaredCdf (const double &x, const double &v) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::chiSquaredCdf (const float &x, const float &v) |
| template<typename T > | |
| const T | blo::normalCdfInv (const T &p, const T &mu, const T &sigma) |
| Inverse of the normal cumulative distribution function. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::normalCdfInv (const double &p, const double &mu, const double &sigma) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::normalCdfInv (const float &p, const float &mu, const float &sigma) |
| template<typename T > | |
| const T | blo::chiSquaredCdfInv (const T &p, const T &v) |
| Inverse of the chi-squared cumulative distribution function. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::chiSquaredCdfInv (const double &p, const double &v) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::chiSquaredCdfInv (const float &p, const float &v) |
| template<typename T > | |
| void | blo::meanRows (const T *pSrc, int srcStride1, int rows, int columns, T *pDst) |
| Computes the mean values of the elements along the rows of a matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanRows (const double *pSrc, int srcStride1, int rows, int columns, double *pDst) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanRows (const float *pSrc, int srcStride1, int rows, int columns, float *pDst) |
| template<typename T > | |
| void | blo::meanColumns (const T *pSrc, int srcStride1, int rows, int columns, T *pDst) |
| Computes the mean values of the elements along the columns of a matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanColumns (const double *pSrc, int srcStride1, int rows, int columns, double *pDst) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanColumns (const float *pSrc, int srcStride1, int rows, int columns, float *pDst) |
| template<typename T > | |
| void | blo::meanColumns (const T *pSrc, int srcStride1, int srcStride2, int rows, int columns, T *pDst) |
| Computes the mean values of the elements along the columns of a matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanColumns (const double *pSrc, int srcStride1, int srcStride2, int rows, int columns, double *pDst) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanColumns (const float *pSrc, int srcStride1, int srcStride2, int rows, int columns, float *pDst) |
| template<typename T > | |
| void | blo::meanCovColumns (const T *pSrc, int srcStride1, int rows, int columns, T *pDst_mean, T *pDstCov, int dstCovStride1) |
| Computes the mean and covariance of the elements along the columns of a matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanCovColumns (const double *pSrc, int srcStride1, int rows, int columns, double *pDst_mean, double *pDstCov, int dstCovStride1) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::meanCovColumns (const float *pSrc, int srcStride1, int rows, int columns, float *pDst_mean, float *pDstCov, int dstCovStride1) |
| template<typename T > | |
| void | blo::covToCorr (const T *pSrc, int srcStride1, int srcStride2, T *pDstCorr, int dstCorrStride1, int dstCorrStride2, int rowsCols, T *pDstStdDev) |
| Computes the correlation matrix that correspondes to a covariance matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::covToCorr (const double *pSrc, int srcStride1, int srcStride2, double *pDstCorr, int dstCorrStride1, int dstCorrStride2, int rowsCols, double *pDstStdDev) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::covToCorr (const float *pSrc, int srcStride1, int srcStride2, float *pDstCorr, int dstCorrStride1, int dstCorrStride2, int rowsCols, float *pDstStdDev) |
| template<typename T > | |
| void | blo::corrToCov (const T *pSrcStdDev, T *pSrcCorr, int srcCorrStride1, int srcCorrStride2, T *pDst, int dstStride1, int dstStride2, int rowsCols) |
| Computes the covariance matrix that correspondes to a correlation matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::corrToCov (const double *pSrcStdDev, double *pSrcCorr, int srcCorrStride1, int srcCorrStride2, double *pDst, int dstStride1, int dstStride2, int rowsCols) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::corrToCov (const float *pSrcStdDev, float *pSrcCorr, int srcCorrStride1, int srcCorrStride2, float *pDst, int dstStride1, int dstStride2, int rowsCols) |
| template<typename T > | |
| void | blo::principalComponentAnalysis (const T *pSrc, int srcStride1, int srcStride2, int rows, int columns, T *pDst_mean, T *pDstCoeff, int dstCoeffStride1, int dstCoeffStride2, T *pDst_var, T *pDst_varRatio=nullptr, Decomposition decomposition=Decomposition::economy) |
| Calculates the principal component analysis (PCA) of a data matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::principalComponentAnalysis (const double *pSrc, int srcStride1, int srcStride2, int rows, int columns, double *pDst_mean, double *pDstCoeff, int dstCoeffStride1, int dstCoeffStride2, double *pDst_var, double *pDst_varRatio, Decomposition decomposition) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::principalComponentAnalysis (const float *pSrc, int srcStride1, int srcStride2, int rows, int columns, float *pDst_mean, float *pDstCoeff, int dstCoeffStride1, int dstCoeffStride2, float *pDst_var, float *pDst_varRatio, Decomposition decomposition) |
| template<typename T > | |
| void | blo::principalComponentAnalysis (const T *pSrc, int srcStride1, int srcStride2, T *pDstCoeff, int dstCoeffStride1, int dstCoeffStride2, int rowsCols, T *pDst_var, T *pDst_varRatio=nullptr) |
| Calculates the principal component analysis (PCA) of a covariance matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::principalComponentAnalysis (const double *pSrc, int srcStride1, int srcStride2, double *pDstCoeff, int dstCoeffStride1, int dstCoeffStride2, int rowsCols, double *pDst_var, double *pDst_varRatio) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::principalComponentAnalysis (const float *pSrc, int srcStride1, int srcStride2, float *pDstCoeff, int dstCoeffStride1, int dstCoeffStride2, int rowsCols, float *pDst_var, float *pDst_varRatio) |
| template<typename T > | |
| void | blo::canonicalCorrelationAnalysis (const T *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const T *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, T *pDst_mean1, T *pDstCoeff1, int dstCoeff1Stride1, int dstCoeff1Stride2, T *pDst_mean2, T *pDstCoeff2, int dstCoeff2Stride1, int dstCoeff2Stride2, T *pDst_corr, int &dstColumns, const T &tolerance) |
| Calculates the canonical correlation analysis (CCA) of two data matrices. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::canonicalCorrelationAnalysis (const double *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const double *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, double *pDst_mean1, double *pDstCoeff1, int dstCoeff1Stride1, int dstCoeff1Stride2, double *pDst_mean2, double *pDstCoeff2, int dstCoeff2Stride1, int dstCoeff2Stride2, double *pDst_corr, int &dstColumns, const double &tolerance) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::canonicalCorrelationAnalysis (const float *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const float *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, float *pDst_mean1, float *pDstCoeff1, int dstCoeff1Stride1, int dstCoeff1Stride2, float *pDst_mean2, float *pDstCoeff2, int dstCoeff2Stride1, int dstCoeff2Stride2, float *pDst_corr, int &dstColumns, const float &tolerance) |
| template<typename T > | |
| void | blo::canonicalCorrelationAnalysis (const T *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const T *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, T *pDst_mean1, T *pDstCoeff1, int dstCoeff1Stride1, int dstCoeff1Stride2, T *pDst_mean2, T *pDstCoeff2, int dstCoeff2Stride1, int dstCoeff2Stride2, T *pDst_corr, int &dstColumns) |
| Calculates the canonical correlation analysis (CCA) of two data matrices. | |
| template<typename T > | |
| void | blo::canonicalCorrelationAnalysis (const T *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const T *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, T *pDst_mean1, T *pDstPrinCompCoeff1, int dstPrinCompCoeff1Stride1, int dstPrinCompCoeff1Stride2, T *pDstPrinComp_var1, T *pDstCanCoeff1, int dstCanCoeff1Stride1, int dstCanCoeff1Stride2, T *pDst_mean2, T *pDstPrinCompCoeff2, int dstPrinCompCoeff2Stride1, int dstPrinCompCoeff2Stride2, T *pDstPrinComp_var2, T *pDstCanCoeff2, int dstCanCoeff2Stride1, int dstCanCoeff2Stride2, T *pDst_can_corr, int &dstCanCoeffColumns, const T &tolerance, T *pDstPrinComp_varRatio1=nullptr, T *pDstPrinComp_varRatio2=nullptr, Decomposition decomposition=Decomposition::economy) |
| Calculates the canonical correlation analysis (CCA) of two data matrices. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::canonicalCorrelationAnalysis (const double *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const double *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, double *pDst_mean1, double *pDstPrinCompCoeff1, int dstPrinCompCoeff1Stride1, int dstPrinCompCoeff1Stride2, double *pDstPrinComp_var1, double *pDstCanCoeff1, int dstCanCoeff1Stride1, int dstCanCoeff1Stride2, double *pDst_mean2, double *pDstPrinCompCoeff2, int dstPrinCompCoeff2Stride1, int dstPrinCompCoeff2Stride2, double *pDstPrinComp_var2, double *pDstCanCoeff2, int dstCanCoeff2Stride1, int dstCanCoeff2Stride2, double *pDst_can_corr, int &dstCanCoeffColumns, const double &tolerance, double *pDstPrinComp_varRatio1, double *pDstPrinComp_varRatio2, Decomposition decomposition) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::canonicalCorrelationAnalysis (const float *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const float *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, float *pDst_mean1, float *pDstPrinCompCoeff1, int dstPrinCompCoeff1Stride1, int dstPrinCompCoeff1Stride2, float *pDstPrinComp_var1, float *pDstCanCoeff1, int dstCanCoeff1Stride1, int dstCanCoeff1Stride2, float *pDst_mean2, float *pDstPrinCompCoeff2, int dstPrinCompCoeff2Stride1, int dstPrinCompCoeff2Stride2, float *pDstPrinComp_var2, float *pDstCanCoeff2, int dstCanCoeff2Stride1, int dstCanCoeff2Stride2, float *pDst_can_corr, int &dstCanCoeffColumns, const float &tolerance, float *pDstPrinComp_varRatio1, float *pDstPrinComp_varRatio2, Decomposition decomposition) |
| template<typename T > | |
| void | blo::canonicalCorrelationAnalysis (const T *pSrc1, int src1Stride1, int src1Stride2, int src1Columns, const T *pSrc2, int src2Stride1, int src2Stride2, int src2Columns, int rows, T *pDst_mean1, T *pDstPrinCompCoeff1, int dstPrinCompCoeff1Stride1, int dstPrinCompCoeff1Stride2, T *pDstPrinComp_var1, T *pDstCanCoeff1, int dstCanCoeff1Stride1, int dstCanCoeff1Stride2, T *pDst_mean2, T *pDstPrinCompCoeff2, int dstPrinCompCoeff2Stride1, int dstPrinCompCoeff2Stride2, T *pDstPrinComp_var2, T *pDstCanCoeff2, int dstCanCoeff2Stride1, int dstCanCoeff2Stride2, T *pDst_can_corr, int &dstCanCoeffColumns, T *pDstPrinComp_varRatio1=nullptr, T *pDstPrinComp_varRatio2=nullptr, Decomposition decomposition=Decomposition::economy) |
| Calculates the canonical correlation analysis (CCA) of two data matrices. | |
| template<typename T > | |
| void | blo::canonicalCorrelationAnalysis (const T *pSrc, int srcStride1, int srcStride2, int srcRowsCols1, int srcRowsCols2, T *pDstCoeff1, int dstCoeff1Stride1, int dstCoeff1Stride2, T *pDstCoeff2, int dstCoeff2Stride1, int dstCoeff2Stride2, T *pDst_corr, int &dstColumns) |
| Calculates the canonical correlation analysis (CCA) of a covariance matrix. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::canonicalCorrelationAnalysis (const double *pSrc, int srcStride1, int srcStride2, int srcRowsCols1, int srcRowsCols2, double *pDstCoeff1, int dstCoeff1Stride1, int dstCoeff1Stride2, double *pDstCoeff2, int dstCoeff2Stride1, int dstCoeff2Stride2, double *pDst_corr, int &dstColumns) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::canonicalCorrelationAnalysis (const float *pSrc, int srcStride1, int srcStride2, int srcRowsCols1, int srcRowsCols2, float *pDstCoeff1, int dstCoeff1Stride1, int dstCoeff1Stride2, float *pDstCoeff2, int dstCoeff2Stride1, int dstCoeff2Stride2, float *pDst_corr, int &dstColumns) |
| template<typename T > | |
| void | blo::linearDiscriminantAnalysis (const T *pSrc, int srcStride1, int srcStride2, const int *pSrcClassNumbers, int rows, int columns, int numClasses, T *pDstW, int dstWstride1, int dstWstride2, T *pDst_lambda) |
| Calculates the linear discriminant analysis (LDA) of a data matrix and associated class labels. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::linearDiscriminantAnalysis (const double *pSrc, int srcStride1, int srcStride2, const int *pSrcClassNumbers, int rows, int columns, int numClasses, double *pDstW, int dstWstride1, int dstWstride2, double *pDst_lambda) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::linearDiscriminantAnalysis (const float *pSrc, int srcStride1, int srcStride2, const int *pSrcClassNumbers, int rows, int columns, int numClasses, float *pDstW, int dstWstride1, int dstWstride2, float *pDst_lambda) |
| template<typename T > | |
| void | blo::linearDiscriminantAnalysis (const T *const *ppSrcMeans, const T *const *ppSrcCovs, const int *pSrcCovsStride1, int rowsCols, const T *pSrcProbs, int count, T *pDstW, int dstWstride1, int dstWstride2, T *pDst_lambda) |
| Calculates the linear discriminant analysis (LDA) of data. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::linearDiscriminantAnalysis (const double *const *ppSrcMeans, const double *const *ppSrcCovs, const int *pSrcCovsStride1, int rowsCols, const double *pSrcProbs, int count, double *pDstW, int dstWstride1, int dstWstride2, double *pDst_lambda) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::linearDiscriminantAnalysis (const float *const *ppSrcMeans, const float *const *ppSrcCovs, const int *pSrcCovsStride1, int rowsCols, const float *pSrcProbs, int count, float *pDstW, int dstWstride1, int dstWstride2, float *pDst_lambda) |
| template<typename T > | |
| const T | blo::linearError (const T &p, const T &var) |
| Calculates the linear error. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::linearError (const double &p, const double &var) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::linearError (const float &p, const float &var) |
| template<typename T > | |
| void | blo::ellipticalError (const T &p, const SmallMatrix< T, 2, 2 > &Cov, T &error1, T &error2, SmallMatrix< T, 2, 2 > &R) |
| Calculates the elliptical error. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::ellipticalError (const double &p, const SmallMatrix< double, 2, 2 > &Cov, double &error1, double &error2, SmallMatrix< double, 2, 2 > &R) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::ellipticalError (const float &p, const SmallMatrix< float, 2, 2 > &Cov, float &error1, float &error2, SmallMatrix< float, 2, 2 > &R) |
| template<typename T > | |
| void | blo::ellipsoidalError (const T &p, const SmallMatrix< T, 3, 3 > &Cov, T &error1, T &error2, T &error3, SmallMatrix< T, 3, 3 > &R) |
| Calculates the ellipsoidal error. | |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::ellipsoidalError (const double &p, const SmallMatrix< double, 3, 3 > &Cov, double &error1, double &error2, double &error3, SmallMatrix< double, 3, 3 > &R) |
| BLO_EXPIMP_TEMPLATE template BLO_API void | blo::ellipsoidalError (const float &p, const SmallMatrix< float, 3, 3 > &Cov, float &error1, float &error2, float &error3, SmallMatrix< float, 3, 3 > &R) |
| template<typename T > | |
| const T | blo::circularError90 (const SmallMatrix< T, 2, 2 > &Cov) |
| Calculates the circular error at 90 percent probability. | |
| BLO_EXPIMP_TEMPLATE template BLO_API const double | blo::circularError90 (const SmallMatrix< double, 2, 2 > &Cov) |
| BLO_EXPIMP_TEMPLATE template BLO_API const float | blo::circularError90 (const SmallMatrix< float, 2, 2 > &Cov) |
Statistics functions.