Integrated lognormal distro into the concept check tests.
[SVN r49486]
This commit is contained in:
parent
74559257f6
commit
c15b211f2f
@ -38,6 +38,9 @@ class fisher_f_distribution;
|
||||
template <class RealType, class Policy>
|
||||
class gamma_distribution;
|
||||
|
||||
template <class RealType, class Policy>
|
||||
class logistic_distribution;
|
||||
|
||||
template <class RealType, class Policy>
|
||||
class lognormal_distribution;
|
||||
|
||||
@ -92,6 +95,7 @@ class weibull_distribution;
|
||||
typedef boost::math::extreme_value_distribution<Type, Policy> extreme_value;\
|
||||
typedef boost::math::fisher_f_distribution<Type, Policy> fisher_f;\
|
||||
typedef boost::math::gamma_distribution<Type, Policy> gamma;\
|
||||
typedef boost::math::logistic_distribution<Type, Policy> logistic;\
|
||||
typedef boost::math::lognormal_distribution<Type, Policy> lognormal;\
|
||||
typedef boost::math::negative_binomial_distribution<Type, Policy> negative_binomial;\
|
||||
typedef boost::math::normal_distribution<Type, Policy> normal;\
|
||||
|
@ -57,7 +57,7 @@ namespace boost { namespace math {
|
||||
}
|
||||
|
||||
template <class RealType, class Policy>
|
||||
inline const std::pair<RealType, RealType> support(const logistic_distribution<RealType, Policy>& dist)
|
||||
inline const std::pair<RealType, RealType> support(const logistic_distribution<RealType, Policy>& /* dist */)
|
||||
{ // Range of supported values for random variable x.
|
||||
// This is range where cdf rises from 0 to 1, and outside it, the pdf is zero.
|
||||
using boost::math::tools::max_value;
|
||||
|
@ -68,6 +68,7 @@ void instantiate(RealType)
|
||||
function_requires<DistributionConcept<extreme_value_distribution<RealType> > >();
|
||||
function_requires<DistributionConcept<fisher_f_distribution<RealType> > >();
|
||||
function_requires<DistributionConcept<gamma_distribution<RealType> > >();
|
||||
function_requires<DistributionConcept<logistic_distribution<RealType> > >();
|
||||
function_requires<DistributionConcept<lognormal_distribution<RealType> > >();
|
||||
function_requires<DistributionConcept<negative_binomial_distribution<RealType> > >();
|
||||
function_requires<DistributionConcept<normal_distribution<RealType> > >();
|
||||
@ -92,6 +93,7 @@ void instantiate(RealType)
|
||||
function_requires<DistributionConcept<extreme_value_distribution<RealType, test_policy> > >();
|
||||
function_requires<DistributionConcept<fisher_f_distribution<RealType, test_policy> > >();
|
||||
function_requires<DistributionConcept<gamma_distribution<RealType, test_policy> > >();
|
||||
function_requires<DistributionConcept<logistic_distribution<RealType, test_policy> > >();
|
||||
function_requires<DistributionConcept<lognormal_distribution<RealType, test_policy> > >();
|
||||
function_requires<DistributionConcept<non_central_chi_squared_distribution<RealType, test_policy> > >();
|
||||
function_requires<DistributionConcept<negative_binomial_distribution<RealType, test_policy> > >();
|
||||
@ -117,6 +119,7 @@ void instantiate(RealType)
|
||||
function_requires<DistributionConcept<dist_test::extreme_value > >();
|
||||
function_requires<DistributionConcept<dist_test::fisher_f > >();
|
||||
function_requires<DistributionConcept<dist_test::gamma > >();
|
||||
function_requires<DistributionConcept<dist_test::logistic > >();
|
||||
function_requires<DistributionConcept<dist_test::lognormal > >();
|
||||
function_requires<DistributionConcept<dist_test::negative_binomial > >();
|
||||
function_requires<DistributionConcept<dist_test::normal > >();
|
||||
|
Loading…
Reference in New Issue
Block a user