Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Static Public Member Functions | List of all members
internal::NumberType< T > Struct Template Reference

#include <deal.II/base/numbers.h>

Static Public Member Functions

static constexpr const T & value (const T &t)
 
template<typename F >
static constexpr T value (const F &f, typename std::enable_if< !std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&std::is_constructible< T, F >::value >::type *=nullptr)
 
template<typename F >
static constexpr T value (const F &f, typename std::enable_if< !std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&is_explicitly_convertible< const F, T >::value >::type *=nullptr)
 
template<typename F >
static T value (const F &f, typename std::enable_if< !std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&!is_explicitly_convertible< const F, T >::value &&Differentiation::AD::is_ad_number< F >::value >::type *=nullptr)
 

Detailed Description

template<typename T>
struct internal::NumberType< T >

Definition at line 700 of file numbers.h.

Member Function Documentation

◆ value() [1/4]

template<typename T >
static constexpr const T& internal::NumberType< T >::value ( const T &  t)
inlinestatic

Definition at line 703 of file numbers.h.

◆ value() [2/4]

template<typename T >
template<typename F >
static constexpr T internal::NumberType< T >::value ( const F &  f,
typename std::enable_if< !std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&std::is_constructible< T, F >::value >::type *  = nullptr 
)
inlinestatic

Definition at line 718 of file numbers.h.

◆ value() [3/4]

template<typename T >
template<typename F >
static constexpr T internal::NumberType< T >::value ( const F &  f,
typename std::enable_if< !std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&is_explicitly_convertible< const F, T >::value >::type *  = nullptr 
)
inlinestatic

Definition at line 730 of file numbers.h.

◆ value() [4/4]

template<typename T >
template<typename F >
static T internal::NumberType< T >::value ( const F &  f,
typename std::enable_if< !std::is_same< typename std::decay< T >::type, typename std::decay< F >::type >::value &&!std::is_constructible< T, F >::value &&!is_explicitly_convertible< const F, T >::value &&Differentiation::AD::is_ad_number< F >::value >::type *  = nullptr 
)
inlinestatic

Definition at line 746 of file numbers.h.


The documentation for this struct was generated from the following file: