2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Merge branch 'asym-log-incomplete-gamma' of github.com:JacobHass8/math into asym-log-incomplete-gamma

This commit is contained in:
Jacob Hass
2025-12-28 14:07:22 -08:00
26 changed files with 35 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,9 +1,9 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_MATH_DIFFERENTIATION_AUTODIFF_HPP
#define BOOST_MATH_DIFFERENTIATION_AUTODIFF_HPP
#ifndef BOOST_MATH_DIFFERENTIATION_AUTODIFF_REVERSE_HPP
#define BOOST_MATH_DIFFERENTIATION_AUTODIFF_REVERSE_HPP
#include <boost/math/constants/constants.hpp>

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -15,7 +15,7 @@ namespace boost {
namespace math {
template <typename RealType, typename Policy>
RealType logistic_sigmoid(RealType x, const Policy&)
BOOST_MATH_GPU_ENABLED RealType logistic_sigmoid(RealType x, const Policy&)
{
BOOST_MATH_STD_USING
@@ -35,7 +35,7 @@ RealType logistic_sigmoid(RealType x, const Policy&)
}
template <typename RealType>
RealType logistic_sigmoid(RealType x)
BOOST_MATH_GPU_ENABLED RealType logistic_sigmoid(RealType x)
{
return logistic_sigmoid(x, policies::policy<>());
}

View File

@@ -17,7 +17,7 @@ namespace boost {
namespace math {
template <typename RealType, typename Policy>
RealType logit(RealType p, const Policy&)
BOOST_MATH_GPU_ENABLED RealType logit(RealType p, const Policy&)
{
BOOST_MATH_STD_USING
using std::atanh;
@@ -45,7 +45,7 @@ RealType logit(RealType p, const Policy&)
}
template <typename RealType>
RealType logit(RealType p)
BOOST_MATH_GPU_ENABLED RealType logit(RealType p)
{
return logit(p, policies::policy<>());
}

View File

@@ -84,6 +84,10 @@
#else // Things from boost/config that are required, and easy to replicate
#if __has_include(<version>)
#include <version>
#endif
#define BOOST_MATH_PREVENT_MACRO_SUBSTITUTION
#define BOOST_MATH_NO_REAL_CONCEPT_TESTS
#define BOOST_MATH_NO_DISTRIBUTION_CONCEPT_TESTS
@@ -102,9 +106,9 @@
#if ((__cplusplus > 201700L) || (defined(_MSVC_LANG) && (_MSVC_LANG > 201700L)))
#define BOOST_MATH_IF_CONSTEXPR if constexpr
// Clang on mac provides the execution header with none of the functionality. TODO: Check back on this
// libc++ currently provides the execution header with none of the functionality.
// https://en.cppreference.com/w/cpp/compiler_support "Standardization of Parallelism TS"
# if !__has_include(<execution>) || (defined(__APPLE__) && defined(__clang__))
# if !__has_include(<execution>) || !defined(__cpp_lib_execution) || (__cpp_lib_execution < 201603L)
# define BOOST_MATH_NO_CXX17_HDR_EXECUTION
# endif
#else

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
# Copyright Maksym Zhelyenzyakov 2025-2026.
# Copyright Maksym Zhelyeznyakov 2025-2026.
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# https://www.boost.org/LICENSE_1_0.txt)

View File

@@ -1,4 +1,4 @@
// Copyright Maksym Zhelyenzyakov 2025-2026.
// Copyright Maksym Zhelyeznyakov 2025-2026.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// https://www.boost.org/LICENSE_1_0.txt)