GooFit
v2.1.3
include
goofit
detail
Complex.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
goofit/GlobalCudaDefines.h
>
4
#include <thrust/complex.h>
5
6
namespace
GooFit
{
7
8
using
fpcomplex
= thrust::complex<fptype>;
9
10
namespace
literals {
11
namespace
complex_literals {
12
13
inline
fpcomplex
operator
""
_i(
unsigned
long
long
d) {
return
{0.0,
static_cast<
fptype
>
(d)}; }
14
15
inline
fpcomplex
operator
""
_i(
long
double
d) {
return
{0.0,
static_cast<
fptype
>
(d)}; }
16
17
}
// namespace complex_literals
18
}
// namespace literals
19
20
}
// namespace GooFit
GooFit::fptype
double fptype
Definition:
GlobalCudaDefines.h:96
GlobalCudaDefines.h
GooFit::fpcomplex
thrust::complex< fptype > fpcomplex
Definition:
Complex.h:8
GooFit
Definition:
Application.h:18
Generated on Sat Apr 21 2018 20:13:17 for GooFit by
1.8.13