CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
System::Numerics::Complex Class Reference

#include <complex.h>

Public Member Functions

double get_Real () const
 
double get_Imaginary () const
 
 Complex ()
 
 Complex (double real)
 
 Complex (double real, double imaginary)
 
double get_Magnitude () const
 
double get_MagnitudeSquared () const
 
double get_Phase () const
 
Complex operator+ (const Complex &o) const
 
Complex operator- (const Complex &o) const
 
Complex operator* (const Complex &o) const
 
Complex operator/ (const Complex &o) const
 
Complex operator- () const
 
bool operator== (const Complex &o) const
 
bool operator!= (const Complex &o) const
 

Static Public Member Functions

static Complex get_Zero ()
 
static Complex get_One ()
 
static Complex get_ImaginaryOne ()
 

Constructor & Destructor Documentation

◆ Complex() [1/3]

System::Numerics::Complex::Complex ( )
inline

◆ Complex() [2/3]

System::Numerics::Complex::Complex ( double  real)
inlineexplicit

◆ Complex() [3/3]

System::Numerics::Complex::Complex ( double  real,
double  imaginary 
)
inline

Member Function Documentation

◆ get_Imaginary()

double System::Numerics::Complex::get_Imaginary ( ) const
inline

◆ get_ImaginaryOne()

static Complex System::Numerics::Complex::get_ImaginaryOne ( )
inlinestatic

◆ get_Magnitude()

double System::Numerics::Complex::get_Magnitude ( ) const
inline

◆ get_MagnitudeSquared()

double System::Numerics::Complex::get_MagnitudeSquared ( ) const
inline

◆ get_One()

static Complex System::Numerics::Complex::get_One ( )
inlinestatic

◆ get_Phase()

double System::Numerics::Complex::get_Phase ( ) const
inline

◆ get_Real()

double System::Numerics::Complex::get_Real ( ) const
inline

◆ get_Zero()

static Complex System::Numerics::Complex::get_Zero ( )
inlinestatic

◆ operator!=()

bool System::Numerics::Complex::operator!= ( const Complex &  o) const
inline

◆ operator*()

Complex System::Numerics::Complex::operator* ( const Complex &  o) const
inline

◆ operator+()

Complex System::Numerics::Complex::operator+ ( const Complex &  o) const
inline

◆ operator-() [1/2]

Complex System::Numerics::Complex::operator- ( ) const
inline

◆ operator-() [2/2]

Complex System::Numerics::Complex::operator- ( const Complex &  o) const
inline

◆ operator/()

Complex System::Numerics::Complex::operator/ ( const Complex &  o) const
inline

◆ operator==()

bool System::Numerics::Complex::operator== ( const Complex &  o) const
inline