DiFfRG
Loading...
Searching...
No Matches
common.hh
Go to the documentation of this file.
1#pragma once
2
3// external libraries
4#include <autodiff/forward/real.hpp>
5
6namespace DiFfRG
7{
8 namespace internal
9 {
10 template <typename NT> struct __TLITypes;
11
12 template <> struct __TLITypes<float> {
13 using ReturnType = float;
14 };
15
16 template <> struct __TLITypes<double> {
17 using ReturnType = float;
18 };
19
20 template <> struct __TLITypes<autodiff::real> {
21 using ReturnType = autodiff::real;
22 };
23 } // namespace internal
24} // namespace DiFfRG
Definition complex_math.hh:14
AUTODIFF_DEVICE_FUNC auto real(const autodiff::Real< N, T > &a)
Definition complex_math.hh:148
Definition complex_math.hh:59
autodiff::real ReturnType
Definition common.hh:21
float ReturnType
Definition common.hh:17
float ReturnType
Definition common.hh:13
Definition common.hh:10