xtensor
Loading...
Searching...
No Matches
xt::traits_detail::norm_of_vector_impl< ARRAY > Struct Template Reference

Public Types

using T = decltype(test(std::declval<ARRAY*>()))
 
using norm_type = typename norm_of_array_elements_impl<T>::norm_type
 
using squared_norm_type = typename norm_of_array_elements_impl<T>::squared_norm_type
 

Static Public Member Functions

static voidtest (...)
 
template<class U >
static U::value_type test (U *, typename U::value_type *=0)
 

Static Public Attributes

static const bool value = !std::is_same<T, void*>::value
 

Detailed Description

template<class ARRAY>
struct xt::traits_detail::norm_of_vector_impl< ARRAY >

Definition at line 103 of file xnorm.hpp.

Member Typedef Documentation

◆ norm_type

Definition at line 114 of file xnorm.hpp.

◆ squared_norm_type

template<class ARRAY >
using xt::traits_detail::norm_of_vector_impl< ARRAY >::squared_norm_type = typename norm_of_array_elements_impl<T>::squared_norm_type

Definition at line 115 of file xnorm.hpp.

◆ T

template<class ARRAY >
using xt::traits_detail::norm_of_vector_impl< ARRAY >::T = decltype(test(std::declval<ARRAY*>()))

Definition at line 110 of file xnorm.hpp.

Member Data Documentation

◆ value

template<class ARRAY >
const bool xt::traits_detail::norm_of_vector_impl< ARRAY >::value = !std::is_same<T, void*>::value
static

Definition at line 112 of file xnorm.hpp.


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