class::dsp::Complex

class dsp::Complex
  : public api::DspInfoObject

The Complex class is a template for holding raw data types that comprise complex data.

Summary

T & imaginary()

const T & imaginary() const

bool operator !=(

const T & a
) const

T operator -(

const T & a
) const

T & operator -=(

const T & a
)

T operator+(

const T & a
) const

T & operator+=(

const T & a
)

bool operator==(

const T & a
) const

T & real()

const T & real() const

Members

T & imaginary()

Returns a reference to the complex component (read/write).


const T & imaginary() const

Returns a reference to the imaginary component (read-only).


bool operator !=(

const T & a
) const


T operator -(

const T & a
) const

Subtracts this to a and returns a new object.


T & operator -=(

const T & a
)

Subtracts a from this object.


T operator+(

const T & a
) const

Adds this to a and returns a new object.


T & operator+=(

const T & a
)

Adds a to this object.


bool operator==(

const T & a
) const


T & real()

Returns a reference to the real component (read/write).


const T & real() const

Returns a reference to the real component (read-only).


X

Thanks for Coming!

Subscribe to news and updates