Reference documentation for deal.II version 9.6.2
 
\(\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\}}\)
Loading...
Searching...
No Matches
internal::NumberType< std::complex< T > > Struct Template Reference

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

Inheritance diagram for internal::NumberType< std::complex< T > >:

Static Public Member Functions

static constexpr const std::complex< T > & value (const std::complex< T > &t)
 
static constexpr std::complex< T > value (const T &t)
 
template<typename U>
static constexpr std::complex< T > value (const std::complex< U > &t)
 
static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE const T & value (const T &t)
 
static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINEvalue (const F &f, std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&std::is_constructible_v< T, F > > *=nullptr)
 
static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINEvalue (const F &f, std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&is_explicitly_convertible< const F, T >::value > *=nullptr)
 
static T value (const F &f, std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&!is_explicitly_convertible< const F, T >::value &&Differentiation::AD::is_ad_number< F >::value > *=nullptr)
 

Detailed Description

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

Definition at line 754 of file numbers.h.

Member Function Documentation

◆ value() [1/7]

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

Definition at line 757 of file numbers.h.

◆ value() [2/7]

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

Definition at line 763 of file numbers.h.

◆ value() [3/7]

template<typename T>
template<typename U>
static constexpr std::complex< T > internal::NumberType< std::complex< T > >::value ( const std::complex< U > & t)
inlinestaticconstexpr

Definition at line 771 of file numbers.h.

◆ value() [4/7]

static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE const T & internal::NumberType< T >::value ( const T & t)
inlinestaticconstexpr

Definition at line 702 of file numbers.h.

◆ value() [5/7]

static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE T internal::NumberType< T >::value ( const F & f,
std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&std::is_constructible_v< T, F > > * = nullptr )
inlinestaticconstexpr

Definition at line 717 of file numbers.h.

◆ value() [6/7]

static constexpr DEAL_II_HOST_DEVICE_ALWAYS_INLINE T internal::NumberType< T >::value ( const F & f,
std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&is_explicitly_convertible< const F, T >::value > * = nullptr )
inlinestaticconstexpr

Definition at line 727 of file numbers.h.

◆ value() [7/7]

static T internal::NumberType< T >::value ( const F & f,
std::enable_if_t<!std::is_same_v< std::decay_t< T >, std::decay_t< F > > &&!std::is_constructible_v< T, F > &&!is_explicitly_convertible< const F, T >::value &&Differentiation::AD::is_ad_number< F >::value > * = nullptr )
inlinestatic

Definition at line 742 of file numbers.h.


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