mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
* Add landau distribution * Add landau limit test case * Add landau document * Landau integration testing. Hook up tests to Jamfile. Hook up docs by adding to dist_reference.qbk. Add std::float64_t tests. Hook up concept tests in instantiate.hpp. Add to distributions.hpp Update static_asserts with better error messages. Add header inclusion test in dist_landau_incl_test.cpp (and fix resulting errors) * Add missing #include. * More Landau test fixes. * Fix C++23 stdfloat test names. * Final (doc) update to Landau. --------- Co-authored-by: tk-yoshimura <yoshimura8192@gmail.com>
27 lines
980 B
C++
27 lines
980 B
C++
// Copyright John Maddock 2024.
|
|
// Use, modification and distribution are subject to the
|
|
// Boost Software License, Version 1.0. (See accompanying file
|
|
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
//
|
|
// Basic sanity check that header <boost/math/distributions/landau.hpp>
|
|
// #includes all the files that it needs to.
|
|
//
|
|
#define BOOST_MATH_ASSERT_UNDEFINED_POLICY false
|
|
#include <boost/math/distributions/landau.hpp>
|
|
//
|
|
// Note this header includes no other headers, this is
|
|
// important if this test is to be meaningful:
|
|
//
|
|
#include "test_compile_result.hpp"
|
|
|
|
void compile_and_link_test()
|
|
{
|
|
TEST_DIST_FUNC(landau)
|
|
}
|
|
|
|
template class boost::math::landau_distribution<float, boost::math::policies::policy<> >;
|
|
template class boost::math::landau_distribution<double, boost::math::policies::policy<> >;
|
|
#ifndef BOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS
|
|
template class boost::math::landau_distribution<long double, boost::math::policies::policy<> >;
|
|
#endif
|