libstdc++
numeric File Reference

Go to the source code of this file.

Namespaces

namespace  std
 
namespace  std::__detail
 

Macros

#define __cpp_lib_constexpr_numeric
 
#define __cpp_lib_gcd
 
#define __cpp_lib_gcd_lcm
 
#define __cpp_lib_interpolate
 
#define __cpp_lib_lcm
 
#define __cpp_lib_parallel_algorithm
 
#define _GLIBCXX_NUMERIC
 
#define _PSTL_NUMERIC_FORWARD_DECLARED
 

Functions

template<typename _Res , typename _Tp >
constexpr _Res std::__detail::__abs_r (_Tp __val)
 
template<typename >
void std::__detail::__abs_r (bool)=delete
 
template<typename _Tp >
constexpr _Tp std::__detail::__gcd (_Tp __m, _Tp __n)
 
template<typename _InputIterator , typename _OutputIterator , typename _Tp >
constexpr _OutputIterator std::exclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init)
 
template<typename _InputIterator , typename _OutputIterator , typename _Tp , typename _BinaryOperation >
constexpr _OutputIterator std::exclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init, _BinaryOperation __binary_op)
 
template<typename _Mn , typename _Nn >
constexpr common_type_t< _Mn, _Nn > std::gcd (_Mn __m, _Nn __n) noexcept
 
template<typename _InputIterator , typename _OutputIterator >
constexpr _OutputIterator std::inclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result)
 
template<typename _InputIterator , typename _OutputIterator , typename _BinaryOperation >
constexpr _OutputIterator std::inclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op)
 
template<typename _InputIterator , typename _OutputIterator , typename _BinaryOperation , typename _Tp >
constexpr _OutputIterator std::inclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op, _Tp __init)
 
template<typename _Mn , typename _Nn >
constexpr common_type_t< _Mn, _Nn > std::lcm (_Mn __m, _Nn __n) noexcept
 
template<typename _Tp >
constexpr enable_if_t< is_object_v< _Tp >, _Tp * > std::midpoint (_Tp *__a, _Tp *__b) noexcept
 
template<typename _Tp >
constexpr enable_if_t< __and_v< is_arithmetic< _Tp >, is_same< remove_cv_t< _Tp >, _Tp >, __not_< is_same< _Tp, bool > > >, _Tp > std::midpoint (_Tp __a, _Tp __b) noexcept
 
template<typename _InputIterator >
constexpr iterator_traits< _InputIterator >::value_type std::reduce (_InputIterator __first, _InputIterator __last)
 
template<typename _InputIterator , typename _Tp >
constexpr _Tp std::reduce (_InputIterator __first, _InputIterator __last, _Tp __init)
 
template<typename _InputIterator , typename _Tp , typename _BinaryOperation >
constexpr _Tp std::reduce (_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op)
 
template<typename _InputIterator , typename _OutputIterator , typename _Tp , typename _BinaryOperation , typename _UnaryOperation >
constexpr _OutputIterator std::transform_exclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __unary_op)
 
template<typename _InputIterator , typename _OutputIterator , typename _BinaryOperation , typename _UnaryOperation >
constexpr _OutputIterator std::transform_inclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op, _UnaryOperation __unary_op)
 
template<typename _InputIterator , typename _OutputIterator , typename _BinaryOperation , typename _UnaryOperation , typename _Tp >
constexpr _OutputIterator std::transform_inclusive_scan (_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryOperation __binary_op, _UnaryOperation __unary_op, _Tp __init)
 
template<typename _InputIterator , typename _Tp , typename _BinaryOperation , typename _UnaryOperation >
constexpr _Tp std::transform_reduce (_InputIterator __first, _InputIterator __last, _Tp __init, _BinaryOperation __binary_op, _UnaryOperation __unary_op)
 
template<typename _InputIterator1 , typename _InputIterator2 , typename _Tp >
constexpr _Tp std::transform_reduce (_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp __init)
 
template<typename _InputIterator1 , typename _InputIterator2 , typename _Tp , typename _BinaryOperation1 , typename _BinaryOperation2 >
constexpr _Tp std::transform_reduce (_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp __init, _BinaryOperation1 __binary_op1, _BinaryOperation2 __binary_op2)
 

Detailed Description

This is a Standard C++ Library header.

Definition in file numeric.

Macro Definition Documentation

◆ __cpp_lib_constexpr_numeric

#define __cpp_lib_constexpr_numeric

Definition at line 259 of file numeric.

◆ __cpp_lib_gcd

#define __cpp_lib_gcd

Definition at line 158 of file numeric.

◆ __cpp_lib_gcd_lcm

#define __cpp_lib_gcd_lcm

Definition at line 156 of file numeric.

◆ __cpp_lib_interpolate

#define __cpp_lib_interpolate

Definition at line 207 of file numeric.

◆ __cpp_lib_lcm

#define __cpp_lib_lcm

Definition at line 159 of file numeric.

◆ __cpp_lib_parallel_algorithm

#define __cpp_lib_parallel_algorithm

Definition at line 744 of file numeric.

◆ _GLIBCXX_NUMERIC

#define _GLIBCXX_NUMERIC

Definition at line 56 of file numeric.

◆ _PSTL_NUMERIC_FORWARD_DECLARED

#define _PSTL_NUMERIC_FORWARD_DECLARED

Definition at line 740 of file numeric.