CWO++library  0.32
 All Classes Functions Variables Groups
Public Member Functions | Public Attributes
cwoComplex Struct Reference

Structure for complex number. More...

#include <cwo_lib.h>

List of all members.

Public Member Functions

void Re (const float a)
void Im (const float a)
CWO_HOST_DEV cwoComplexoperator= (const cwoComplex &a)
CWO_HOST_DEV cwoComplexoperator= (const float a)
CWO_HOST_DEV cwoComplexoperator+= (const cwoComplex &a)
CWO_HOST_DEV cwoComplexoperator+= (const float a)
CWO_HOST_DEV cwoComplexoperator-= (const cwoComplex &a)
CWO_HOST_DEV cwoComplexoperator-= (const float a)
CWO_HOST_DEV cwoComplexoperator*= (const cwoComplex &a)
CWO_HOST_DEV cwoComplexoperator*= (const float a)
CWO_HOST_DEV cwoComplexoperator/= (const cwoComplex &a)
CWO_HOST_DEV cwoComplexoperator/= (const float a)
CWO_HOST_DEV const cwoComplex operator+ (const cwoComplex &a) const
CWO_HOST_DEV const cwoComplex operator+ (const float a) const
CWO_HOST_DEV const cwoComplex operator- (const cwoComplex &a) const
CWO_HOST_DEV const cwoComplex operator- (const float a) const
CWO_HOST_DEV const cwoComplex operator* (const cwoComplex &a) const
CWO_HOST_DEV const cwoComplex operator* (const float a) const
CWO_HOST_DEV const cwoComplex operator/ (const cwoComplex &a) const
CWO_HOST_DEV const cwoComplex operator/ (const float a) const
CWO_HOST_DEV cwoComplex Conj ()
CWO_HOST_DEV float Intensity ()
CWO_HOST_DEV cwoComplex operator() (float re, float im) const

Public Attributes

float cplx [2]

Detailed Description

Structure for complex number.

This structure serves complex number and its operations.


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