OpenCV笔记(Complex复数)

//代表一个复数
template<typename _Tp> class Complex
{
public:
    //! constructors
    Complex();
    Complex( _Tp _re, _Tp _im=0 );
    Complex( const std::complex<_Tp>& c );
    //! conversion to another data type
    template<typename T2> operator Complex() const;
    //! conjugation
    Complex conj() const;
    //! conversion to std::complex
    operator std::complex<_Tp>() const;
    _Tp re, im; //< the real and the imaginary parts
};


来自为知笔记(Wiz)


转载于:https://www.cnblogs.com/fireae/p/3685142.html

你可能感兴趣的:(OpenCV笔记(Complex复数))