xtensor
 
Loading...
Searching...
No Matches
xt::math::deg2rad Struct Reference

Public Member Functions

template<class A, std::enable_if_t< xtl::is_integral< A >::value, int > = 0>
constexpr double operator() (const A &a) const noexcept
 
template<class A, std::enable_if_t< std::is_floating_point< A >::value, int > = 0>
constexpr auto operator() (const A &a) const noexcept
 
template<class A, std::enable_if_t< xtl::is_integral< A >::value, int > = 0>
constexpr double simd_apply (const A &a) const noexcept
 
template<class A, std::enable_if_t< std::is_floating_point< A >::value, int > = 0>
constexpr auto simd_apply (const A &a) const noexcept
 

Detailed Description

Definition at line 619 of file xmath.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<class A, std::enable_if_t< xtl::is_integral< A >::value, int > = 0>
double xt::math::deg2rad::operator() ( const A & a) const
inlineconstexprnoexcept

Definition at line 622 of file xmath.hpp.

◆ operator()() [2/2]

template<class A, std::enable_if_t< std::is_floating_point< A >::value, int > = 0>
auto xt::math::deg2rad::operator() ( const A & a) const
inlineconstexprnoexcept

Definition at line 628 of file xmath.hpp.

◆ simd_apply() [1/2]

template<class A, std::enable_if_t< xtl::is_integral< A >::value, int > = 0>
double xt::math::deg2rad::simd_apply ( const A & a) const
inlineconstexprnoexcept

Definition at line 634 of file xmath.hpp.

◆ simd_apply() [2/2]

template<class A, std::enable_if_t< std::is_floating_point< A >::value, int > = 0>
auto xt::math::deg2rad::simd_apply ( const A & a) const
inlineconstexprnoexcept

Definition at line 640 of file xmath.hpp.


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