CAPD::DynSys Library  6.0.0
Complex.h File Reference
#include <stdexcept>
#include <complex>
#include "capd/basicalg/power.h"
#include "capd/basicalg/TypeTraits.h"
#include "capd/basicalg/doubleFun.h"
#include "capd/basicalg/minmax.h"

Classes

class  capd::fields::Complex< T >
 Class Complex represents complex number. More...
 
class  capd::fields::Complex< double >
 
class  capd::fields::Complex< float >
 
class  capd::fields::Complex< long double >
 
class  capd::TypeTraits< fields::Complex< T > >
 

Namespaces

 capd
 
 capd::fields
 
 capd::vectalg
 

Functions

template<class T >
capd::fields::real (const Complex< T > &z)
 returns the real component More...
 
template<class T >
capd::fields::imag (const Complex< T > &z)
 returns the imaginary component More...
 
template<class T >
capd::fields::abs (const Complex< T > &z)
 returns the magnitude of a complex number More...
 
template<class T >
capd::fields::arg (const Complex< T > &z)
 returns the phase angle More...
 
template<class T >
capd::fields::norm (const Complex< T > &z)
 returns the squared magnitude More...
 
template<class T >
Complex< T > capd::fields::conj (const Complex< T > &z)
 returns the complex conjugate More...
 
template<class T >
Complex< T > capd::fields::polar (const T &r, const T &theta=T())
 constructs a complex number from magnitude r and phase angle theta More...
 
template<typename T >
bool capd::fields::intersection (const Complex< T > &a, const Complex< T > &b, Complex< T > &result)
 
template<typename T >
const Complex< T > capd::fields::intervalHull (const Complex< T > &a, const Complex< T > &b)
 
template<typename T >
Complex< T > capd::fields::power (const Complex< T > &x, int n)
 TODO: this is a naive implementation. Should be improved. More...
 
template<typename T >
Complex< T > capd::fields::mid (const Complex< T > &x)
 
template<typename T >
capd::vectalg::euclNorm (::capd::fields::Complex< T > &x)
 

Detailed Description

Author
Tomasz Kapela
Date
2022-01-14