k-dot-p 0.1

kdotp::libmodelxx Namespace Reference

Namespaces

namespace  continuous_structure
namespace  grid
namespace  io_routines
namespace  postprocessing
namespace  randomness
namespace  structure
namespace  utilities

Classes

struct  fast_complex_

Typedefs

typedef struct
kdotp::libmodelxx::fast_complex_ 
fast_complex

Functions

void conjugate_in_place (fast_complex &fc)
void conjugate (const fast_complex &fc, fast_complex &result)

Typedef Documentation


Function Documentation

void kdotp::libmodelxx::conjugate ( const fast_complex &  fc,
fast_complex &  result 
)

Definition at line 30 of file fast_complex.c++.

References kdotp::libmodelxx::fast_complex_::im, and kdotp::libmodelxx::fast_complex_::re.

                                                                 {
      result.re = -fc.re;
      result.im = -fc.im;
    }
void kdotp::libmodelxx::conjugate_in_place ( fast_complex &  fc)

Definition at line 26 of file fast_complex.c++.

References kdotp::libmodelxx::fast_complex_::im.

                                              {
      fc.im = -fc.im;
    }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines