|
Grid 0.7.0
|
#include <Grid_gpu_vec.h>
Public Types | |
| typedef decltype(z.x) | Real |
Public Member Functions | |
| accelerator_inline | GpuComplex ()=default |
| accelerator_inline | GpuComplex (Real re, Real im) |
| accelerator_inline | GpuComplex (const GpuComplex &zz) |
| accelerator_inline Real | real (void) const |
| accelerator_inline Real | imag (void) const |
| accelerator_inline GpuComplex & | operator= (const Zero &zz) |
| accelerator_inline GpuComplex & | operator*= (const GpuComplex &r) |
| accelerator_inline GpuComplex & | operator+= (const GpuComplex &r) |
| accelerator_inline GpuComplex & | operator-= (const GpuComplex &r) |
Data Fields | |
| pair | z |
Friends | |
| accelerator_inline GpuComplex | operator+ (const GpuComplex &lhs, const GpuComplex &rhs) |
| accelerator_inline GpuComplex | operator- (const GpuComplex &lhs, const GpuComplex &rhs) |
| accelerator_inline GpuComplex | operator* (const GpuComplex &lhs, const GpuComplex &rhs) |
| accelerator_inline GpuComplex | real_mult (const GpuComplex &l, const GpuComplex &r) |
| std::ostream & | operator<< (std::ostream &stream, const GpuComplex o) |
Definition at line 60 of file Grid_gpu_vec.h.
| typedef decltype(z.x) Grid::GpuComplex< pair >::Real |
Definition at line 63 of file Grid_gpu_vec.h.
|
default |
|
inline |
Definition at line 66 of file Grid_gpu_vec.h.
|
inline |
Definition at line 67 of file Grid_gpu_vec.h.
|
inline |
Definition at line 68 of file Grid_gpu_vec.h.
Referenced by Grid::timesI(), Grid::timesI(), Grid::timesMinusI(), and Grid::timesMinusI().
|
inline |
Definition at line 69 of file Grid_gpu_vec.h.
Referenced by Grid::timesI(), Grid::timesI(), Grid::timesMinusI(), and Grid::timesMinusI().
|
inline |
Definition at line 70 of file Grid_gpu_vec.h.
|
inline |
Definition at line 71 of file Grid_gpu_vec.h.
|
inline |
Definition at line 75 of file Grid_gpu_vec.h.
|
inline |
Definition at line 79 of file Grid_gpu_vec.h.
|
friend |
Definition at line 83 of file Grid_gpu_vec.h.
|
friend |
Definition at line 89 of file Grid_gpu_vec.h.
|
friend |
Definition at line 95 of file Grid_gpu_vec.h.
|
friend |
Definition at line 101 of file Grid_gpu_vec.h.
|
friend |
Definition at line 108 of file Grid_gpu_vec.h.
| pair Grid::GpuComplex< pair >::z |
Definition at line 62 of file Grid_gpu_vec.h.
Referenced by Grid::GpuComplex< Half2 >::GpuComplex(), Grid::GpuComplex< Half2 >::operator*, Grid::GpuComplex< Half2 >::operator+, Grid::GpuComplex< Half2 >::operator-, Grid::GpuComplex< Half2 >::operator<<, and Grid::GpuComplex< Half2 >::real_mult.