libstdc++
numeric File Reference

Go to the source code of this file.

Namespaces

namespace  std
 
namespace  std::__detail
 

Macros

#define __glibcxx_want_constexpr_numeric
 
#define __glibcxx_want_gcd
 
#define __glibcxx_want_gcd_lcm
 
#define __glibcxx_want_interpolate
 
#define __glibcxx_want_lcm
 
#define __glibcxx_want_parallel_algorithm
 
#define __glibcxx_want_ranges_iota
 
#define __glibcxx_want_saturation_arithmetic
 
#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 _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 _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

◆ __glibcxx_want_constexpr_numeric

#define __glibcxx_want_constexpr_numeric

Definition at line 84 of file numeric.

◆ __glibcxx_want_gcd

#define __glibcxx_want_gcd

Definition at line 85 of file numeric.

◆ __glibcxx_want_gcd_lcm

#define __glibcxx_want_gcd_lcm

Definition at line 86 of file numeric.

◆ __glibcxx_want_interpolate

#define __glibcxx_want_interpolate

Definition at line 87 of file numeric.

◆ __glibcxx_want_lcm

#define __glibcxx_want_lcm

Definition at line 88 of file numeric.

◆ __glibcxx_want_parallel_algorithm

#define __glibcxx_want_parallel_algorithm

Definition at line 89 of file numeric.

◆ __glibcxx_want_ranges_iota

#define __glibcxx_want_ranges_iota

Definition at line 90 of file numeric.

◆ __glibcxx_want_saturation_arithmetic

#define __glibcxx_want_saturation_arithmetic

Definition at line 91 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 778 of file numeric.