MRPT  1.9.9
Functions | Variables
distributions_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/math/data_utils.h>
#include <mrpt/math/distributions.h>
#include <mrpt/random.h>
#include <Eigen/Dense>
Include dependency graph for distributions_unittest.cpp:

Go to the source code of this file.

Functions

 TEST (distributions, normalPDF_1d)
 
 TEST (distributions, normalPDF_vector)
 
 TEST (distributions, erfc)
 
 TEST (distributions, erf)
 
 TEST (distributions, normalCDF)
 
 TEST (distributions, chi2inv)
 
 TEST (distributions, chi2PDF)
 
 TEST (distributions, noncentralChi2PDF_CDF)
 
 TEST (data_utils, mahalanobisDistance2AndLogPDF)
 

Variables

const double eps = 1e-12
 

Function Documentation

◆ TEST() [1/9]

TEST ( distributions  ,
normalPDF_1d   
)

Definition at line 23 of file distributions_unittest.cpp.

References eps, EXPECT_NEAR(), and mrpt::math::normalPDF().

Here is the call graph for this function:

◆ TEST() [2/9]

TEST ( distributions  ,
normalPDF_vector   
)

Definition at line 31 of file distributions_unittest.cpp.

References eps, EXPECT_NEAR(), and mrpt::math::normalPDF().

Here is the call graph for this function:

◆ TEST() [3/9]

TEST ( distributions  ,
erfc   
)

Definition at line 65 of file distributions_unittest.cpp.

References eps, and EXPECT_NEAR().

Here is the call graph for this function:

◆ TEST() [4/9]

TEST ( distributions  ,
erf   
)

Definition at line 74 of file distributions_unittest.cpp.

References eps, and EXPECT_NEAR().

Here is the call graph for this function:

◆ TEST() [5/9]

TEST ( distributions  ,
normalCDF   
)

Definition at line 83 of file distributions_unittest.cpp.

References eps, EXPECT_NEAR(), and mrpt::math::normalCDF().

Here is the call graph for this function:

◆ TEST() [6/9]

TEST ( distributions  ,
chi2inv   
)

Definition at line 91 of file distributions_unittest.cpp.

References mrpt::math::chi2inv(), eps, and EXPECT_NEAR().

Here is the call graph for this function:

◆ TEST() [7/9]

TEST ( distributions  ,
chi2PDF   
)

Definition at line 98 of file distributions_unittest.cpp.

References mrpt::math::chi2PDF(), eps, and EXPECT_NEAR().

Here is the call graph for this function:

◆ TEST() [8/9]

TEST ( distributions  ,
noncentralChi2PDF_CDF   
)

Definition at line 108 of file distributions_unittest.cpp.

References EXPECT_NEAR(), and mrpt::math::noncentralChi2PDF_CDF().

Here is the call graph for this function:

◆ TEST() [9/9]

TEST ( data_utils  ,
mahalanobisDistance2AndLogPDF   
)

Definition at line 160 of file distributions_unittest.cpp.

References EXPECT_NEAR(), and mrpt::math::mahalanobisDistance2AndLogPDF().

Here is the call graph for this function:

Variable Documentation

◆ eps

const double eps = 1e-12



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020