Simulacrum  1.2
Public Member Functions | List of all members
Simulacrum::SComplex Class Reference

#include <sprimitives.h>

Collaboration diagram for Simulacrum::SComplex:
Collaboration graph

Public Member Functions

 SComplex (SVector::Precision reali, SVector::Precision imaginaryi)
 
 SComplex (const SComplex &)
 
virtual ~SComplex ()
 
SVector::Precision mag () const
 
SVector::Precision r () const
 
SVector::Precision i () const
 
void r (SVector::Precision)
 
void i (SVector::Precision)
 
SComplex conj () const
 
SComplexoperator= (const SComplex &)
 
bool operator== (const SComplex &) const
 
SComplex operator+ (const SComplex &) const
 
SComplexoperator+= (const SComplex &)
 
SComplex operator- (const SComplex &) const
 
SComplexoperator-= (const SComplex &)
 
SComplex operator* (const SComplex &) const
 
SComplexoperator*= (const SComplex &)
 
SComplex operator/ (const SComplex &) const
 
SComplexoperator/= (const SComplex &)
 
SComplex operator+ (SVector::Precision) const
 
SComplexoperator+= (SVector::Precision)
 
SComplex operator- (SVector::Precision) const
 
SComplexoperator-= (SVector::Precision)
 
SComplex operator* (SVector::Precision) const
 
SComplexoperator*= (SVector::Precision)
 
SComplex operator/ (SVector::Precision) const
 
SComplexoperator/= (SVector::Precision)
 
std::string toString () const
 

Constructor & Destructor Documentation

◆ SComplex() [1/2]

SComplex::SComplex ( SVector::Precision  reali,
SVector::Precision  imaginaryi 
)

◆ SComplex() [2/2]

SComplex::SComplex ( const SComplex inp)

◆ ~SComplex()

SComplex::~SComplex ( )
virtual

Member Function Documentation

◆ conj()

SComplex SComplex::conj ( ) const

◆ i() [1/2]

SVector::Precision SComplex::i ( ) const

◆ i() [2/2]

void SComplex::i ( SVector::Precision  imagi)

◆ mag()

SVector::Precision SComplex::mag ( ) const

◆ operator*() [1/2]

SComplex SComplex::operator* ( const SComplex rhs) const

◆ operator*() [2/2]

SComplex SComplex::operator* ( SVector::Precision  muli) const

◆ operator*=() [1/2]

SComplex & SComplex::operator*= ( const SComplex rhs)

◆ operator*=() [2/2]

SComplex & SComplex::operator*= ( SVector::Precision  muli)

◆ operator+() [1/2]

SComplex SComplex::operator+ ( const SComplex rhs) const

◆ operator+() [2/2]

SComplex SComplex::operator+ ( SVector::Precision  addi) const

◆ operator+=() [1/2]

SComplex & SComplex::operator+= ( const SComplex rhs)

◆ operator+=() [2/2]

SComplex & SComplex::operator+= ( SVector::Precision  addi)

◆ operator-() [1/2]

SComplex SComplex::operator- ( const SComplex rhs) const

◆ operator-() [2/2]

SComplex SComplex::operator- ( SVector::Precision  mini) const

◆ operator-=() [1/2]

SComplex & SComplex::operator-= ( const SComplex rhs)

◆ operator-=() [2/2]

SComplex & SComplex::operator-= ( SVector::Precision  mini)

◆ operator/() [1/2]

SComplex SComplex::operator/ ( const SComplex rhs) const

◆ operator/() [2/2]

SComplex SComplex::operator/ ( SVector::Precision  divi) const

◆ operator/=() [1/2]

SComplex & SComplex::operator/= ( const SComplex rhs)

◆ operator/=() [2/2]

SComplex & SComplex::operator/= ( SVector::Precision  divi)

◆ operator=()

SComplex & SComplex::operator= ( const SComplex rhs)

◆ operator==()

bool SComplex::operator== ( const SComplex rhs) const

◆ r() [1/2]

SVector::Precision SComplex::r ( ) const

◆ r() [2/2]

void SComplex::r ( SVector::Precision  reali)

◆ toString()

std::string SComplex::toString ( ) const

The documentation for this class was generated from the following files:
Simulacrum Project