compute Namespace Reference#

DiFfRG: DiFfRG::compute Namespace Reference
DiFfRG
DiFfRG::compute Namespace Reference

Functions

template<typename T1 , typename T2 , typename T3 >
requires (!std::is_arithmetic_v<T1> || !std::is_arithmetic_v<T2> || !std::is_arithmetic_v<T3>)
constexpr KOKKOS_FORCEINLINE_FUNCTION auto fma (const T1 &a, const T2 &b, const T3 &c)
 
template<size_t N, typename T >
requires std::is_arithmetic_v<T>
constexpr KOKKOS_FORCEINLINE_FUNCTION T conj (const autodiff::Real< N, T > x)
 
template<size_t N, typename T >
requires std::is_arithmetic_v<T>
constexpr KOKKOS_FORCEINLINE_FUNCTION T conj (const cxReal< N, T > x)
 
template<typename T >
requires std::is_arithmetic_v<T>
constexpr KOKKOS_FORCEINLINE_FUNCTION T conj (const T x)
 
template<typename T >
requires is_complex<T>::value
constexpr KOKKOS_FORCEINLINE_FUNCTION T conj (const T x)
 
template<typename NT >
constexpr auto cot (const NT x)
 
template<typename NT >
constexpr auto coth (const NT x)
 

Function Documentation

◆ conj() [1/4]

template<size_t N, typename T >
requires std::is_arithmetic_v<T>
KOKKOS_FORCEINLINE_FUNCTION T DiFfRG::compute::conj ( const autodiff::Real< N, T > x)
constexpr

◆ conj() [2/4]

template<size_t N, typename T >
requires std::is_arithmetic_v<T>
KOKKOS_FORCEINLINE_FUNCTION T DiFfRG::compute::conj ( const cxReal< N, T > x)
constexpr

◆ conj() [3/4]

template<typename T >
requires std::is_arithmetic_v<T>
KOKKOS_FORCEINLINE_FUNCTION T DiFfRG::compute::conj ( const T x)
constexpr

◆ conj() [4/4]

template<typename T >
requires is_complex<T>::value
KOKKOS_FORCEINLINE_FUNCTION T DiFfRG::compute::conj ( const T x)
constexpr

◆ cot()

template<typename NT >
auto DiFfRG::compute::cot ( const NT x)
constexpr

◆ coth()

template<typename NT >
auto DiFfRG::compute::coth ( const NT x)
constexpr

◆ fma()

template<typename T1 , typename T2 , typename T3 >
requires (!std::is_arithmetic_v<T1> || !std::is_arithmetic_v<T2> || !std::is_arithmetic_v<T3>)
KOKKOS_FORCEINLINE_FUNCTION auto DiFfRG::compute::fma ( const T1 & a,
const T2 & b,
const T3 & c )
constexpr