XGCa
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Complex Struct Reference

#include <complex.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION Complex (double r=0.0, double i=0.0)
 
KOKKOS_INLINE_FUNCTION Complex operator+ (const Complex &other) const
 
KOKKOS_INLINE_FUNCTION Complex operator* (const Complex &other) const
 
KOKKOS_INLINE_FUNCTION Complex operator* (double scalar) const
 

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION
double 
r_mult (const Complex &a, const Complex &b)
 
static KOKKOS_INLINE_FUNCTION
Complex 
expc (const Complex &c)
 
static KOKKOS_INLINE_FUNCTION
Complex 
exp_i (double imag_in)
 

Public Attributes

double real
 
double imag
 

Constructor & Destructor Documentation

KOKKOS_INLINE_FUNCTION Complex::Complex ( double  r = 0.0,
double  i = 0.0 
)
inline

Here is the caller graph for this function:

Member Function Documentation

static KOKKOS_INLINE_FUNCTION Complex Complex::exp_i ( double  imag_in)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function:

static KOKKOS_INLINE_FUNCTION Complex Complex::expc ( const Complex c)
inlinestatic

Here is the call graph for this function:

KOKKOS_INLINE_FUNCTION Complex Complex::operator* ( const Complex other) const
inline

Here is the call graph for this function:

KOKKOS_INLINE_FUNCTION Complex Complex::operator* ( double  scalar) const
inline

Here is the call graph for this function:

KOKKOS_INLINE_FUNCTION Complex Complex::operator+ ( const Complex other) const
inline

Here is the call graph for this function:

static KOKKOS_INLINE_FUNCTION double Complex::r_mult ( const Complex a,
const Complex b 
)
inlinestatic

Here is the caller graph for this function:

Member Data Documentation

double Complex::imag
double Complex::real

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