xtensor
Loading...
Searching...
No Matches
xt::math::sign_impl< T > Struct Template Reference

Static Public Member Functions

template<class XT = T>
static constexpr std::enable_if_t< xtl::is_signed< XT >::value, T > run (T x)
 
template<class XT = T>
static constexpr std::enable_if_t< xtl::is_complex< XT >::value, T > run (T x)
 
template<class XT = T>
static constexpr std::enable_if_t< std::is_unsigned< XT >::value, T > run (T x)
 

Detailed Description

template<class T>
struct xt::math::sign_impl< T >

Definition at line 828 of file xmath.hpp.

Member Function Documentation

◆ run() [1/3]

template<class T >
template<class XT = T>
static constexpr std::enable_if_t< xtl::is_signed< XT >::value, T > xt::math::sign_impl< T >::run ( T x)
inlinestaticconstexpr

Definition at line 831 of file xmath.hpp.

◆ run() [2/3]

template<class T >
template<class XT = T>
static constexpr std::enable_if_t< xtl::is_complex< XT >::value, T > xt::math::sign_impl< T >::run ( T x)
inlinestaticconstexpr

Definition at line 839 of file xmath.hpp.

◆ run() [3/3]

template<class T >
template<class XT = T>
static constexpr std::enable_if_t< std::is_unsigned< XT >::value, T > xt::math::sign_impl< T >::run ( T x)
inlinestaticconstexpr

Definition at line 850 of file xmath.hpp.


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