tfel
Loading...
Searching...
No Matches
tfel::math::MathObjectTraitsBase< ValueType, SizeType > Struct Template Reference

a helper structure to define the MathObjectTraits more compactly More...

#include </home/runner/work/tfel/tfel/include/TFEL/Math/General/MathObjectTraits.hxx>

Public Types

using value_type = ValueType
 numerical type on which the object is based
using size_type = SizeType
 index type
using NumType = value_type
 numerical type on which the object is based
using IndexType = size_type
 index type

Static Public Attributes

static constexpr auto is_specialized
 flag stating if the MathObjectTraitsBase class has been specialized

Detailed Description

template<typename ValueType, typename SizeType>
struct tfel::math::MathObjectTraitsBase< ValueType, SizeType >

a helper structure to define the MathObjectTraits more compactly

Member Typedef Documentation

◆ IndexType

template<typename ValueType, typename SizeType>
using tfel::math::MathObjectTraitsBase< ValueType, SizeType >::IndexType = size_type

index type

Deprecated
This alias is deprecated and provided for backward compatibility with previous versions of TFEL. Use size_type instead.

◆ NumType

template<typename ValueType, typename SizeType>
using tfel::math::MathObjectTraitsBase< ValueType, SizeType >::NumType = value_type

numerical type on which the object is based

Deprecated
This alias is deprecated and provided for backward compatibility with previous versions of TFEL. Use size_type instead.

Member Data Documentation

◆ is_specialized

template<typename ValueType, typename SizeType>
auto tfel::math::MathObjectTraitsBase< ValueType, SizeType >::is_specialized
staticconstexpr
Initial value:
=
TFEL_HOST_DEVICE constexpr auto isInvalid()
a simple wrapper around IsInvalid
Definition IsInvalid.hxx:40

flag stating if the MathObjectTraitsBase class has been specialized


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