Class cv::Complex#

A complex number class. View details

Collaboration diagram for cv::Complex:

Detailed Description#

A complex number class.

The template class is similar and compatible with std::complex, however it provides slightly more convenient access to the real and imaginary parts using through the simple field access, as opposite to std::complex::real() and std::complex::imag().

Constructor & Destructor Documentation#

Complex()#

cv::Complex::Complex()

default constructor

Complex()#

cv::Complex::Complex(
_Tp _re,
_Tp _im = 0 )

Member Function Documentation#

conj()#

Complex cv::Complex::conj()

conjugation

operator Complex< T2 >()#

template<typename T2>
cv::Complex::operator Complex< T2 >()

conversion to another data type

Member Data Documentation#

im#

_Tp cv::Complex::im

the real and the imaginary parts

re#

_Tp cv::Complex::re

Source file#

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