Public Member Functions | Public Attributes | List of all members
vnl_rnpoly_solve_cmplx Class Reference

This is a local implementation of a minimal "complex number" class, for internal use only. More...

Public Member Functions

 vnl_rnpoly_solve_cmplx (double a=0, double b=0)
 
double norm () const
 
vnl_rnpoly_solve_cmplx operator- () const
 
vnl_rnpoly_solve_cmplx operator+ (vnl_rnpoly_solve_cmplx const &Y) const
 
vnl_rnpoly_solve_cmplx operator- (vnl_rnpoly_solve_cmplx const &Y) const
 
vnl_rnpoly_solve_cmplxoperator+= (vnl_rnpoly_solve_cmplx const &Y)
 
vnl_rnpoly_solve_cmplxoperator-= (vnl_rnpoly_solve_cmplx const &Y)
 
vnl_rnpoly_solve_cmplx operator * (vnl_rnpoly_solve_cmplx const &Y) const
 
vnl_rnpoly_solve_cmplx operator/ (vnl_rnpoly_solve_cmplx const &Y) const
 
vnl_rnpoly_solve_cmplx operator * (double T) const
 
vnl_rnpoly_solve_cmplxoperator *= (double T)
 
vnl_rnpoly_solve_cmplxoperator *= (vnl_rnpoly_solve_cmplx const &Y)
 
vnl_rnpoly_solve_cmplxoperator/= (vnl_rnpoly_solve_cmplx const &Y)
 

Public Attributes

double R
 
double C
 

Detailed Description

This is a local implementation of a minimal "complex number" class, for internal use only.

Definition at line 18 of file vnl_rnpoly_solve.cxx.

Constructor & Destructor Documentation

◆ vnl_rnpoly_solve_cmplx()

vnl_rnpoly_solve_cmplx::vnl_rnpoly_solve_cmplx ( double  a = 0,
double  b = 0 
)
inline

Definition at line 23 of file vnl_rnpoly_solve.cxx.

Member Function Documentation

◆ norm()

double vnl_rnpoly_solve_cmplx::norm ( ) const
inline

Definition at line 24 of file vnl_rnpoly_solve.cxx.

◆ operator *() [1/2]

vnl_rnpoly_solve_cmplx vnl_rnpoly_solve_cmplx::operator * ( vnl_rnpoly_solve_cmplx const &  Y) const
inline

Definition at line 35 of file vnl_rnpoly_solve.cxx.

◆ operator *() [2/2]

vnl_rnpoly_solve_cmplx vnl_rnpoly_solve_cmplx::operator * ( double  T) const
inline

Definition at line 39 of file vnl_rnpoly_solve.cxx.

◆ operator *=() [1/2]

vnl_rnpoly_solve_cmplx& vnl_rnpoly_solve_cmplx::operator *= ( double  T)
inline

Definition at line 41 of file vnl_rnpoly_solve.cxx.

◆ operator *=() [2/2]

vnl_rnpoly_solve_cmplx& vnl_rnpoly_solve_cmplx::operator *= ( vnl_rnpoly_solve_cmplx const &  Y)
inline

Definition at line 43 of file vnl_rnpoly_solve.cxx.

◆ operator+()

vnl_rnpoly_solve_cmplx vnl_rnpoly_solve_cmplx::operator+ ( vnl_rnpoly_solve_cmplx const &  Y) const
inline

Definition at line 27 of file vnl_rnpoly_solve.cxx.

◆ operator+=()

vnl_rnpoly_solve_cmplx& vnl_rnpoly_solve_cmplx::operator+= ( vnl_rnpoly_solve_cmplx const &  Y)
inline

Definition at line 31 of file vnl_rnpoly_solve.cxx.

◆ operator-() [1/2]

vnl_rnpoly_solve_cmplx vnl_rnpoly_solve_cmplx::operator- ( ) const
inline

Definition at line 25 of file vnl_rnpoly_solve.cxx.

◆ operator-() [2/2]

vnl_rnpoly_solve_cmplx vnl_rnpoly_solve_cmplx::operator- ( vnl_rnpoly_solve_cmplx const &  Y) const
inline

Definition at line 29 of file vnl_rnpoly_solve.cxx.

◆ operator-=()

vnl_rnpoly_solve_cmplx& vnl_rnpoly_solve_cmplx::operator-= ( vnl_rnpoly_solve_cmplx const &  Y)
inline

Definition at line 33 of file vnl_rnpoly_solve.cxx.

◆ operator/()

vnl_rnpoly_solve_cmplx vnl_rnpoly_solve_cmplx::operator/ ( vnl_rnpoly_solve_cmplx const &  Y) const
inline

Definition at line 37 of file vnl_rnpoly_solve.cxx.

◆ operator/=()

vnl_rnpoly_solve_cmplx& vnl_rnpoly_solve_cmplx::operator/= ( vnl_rnpoly_solve_cmplx const &  Y)
inline

Definition at line 45 of file vnl_rnpoly_solve.cxx.

Member Data Documentation

◆ C

double vnl_rnpoly_solve_cmplx::C

Definition at line 22 of file vnl_rnpoly_solve.cxx.

◆ R

double vnl_rnpoly_solve_cmplx::R

Definition at line 21 of file vnl_rnpoly_solve.cxx.


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