Spectral Integral Suite in C++
|
Functions | |
template<class T > | |
std::valarray< std::complex< T > > | dou2com (const std::valarray< T > &a, const std::valarray< T > &b) |
Use this to make a complex valarray out of two real valarrays. More... | |
template<class T > | |
valarray< T > | real (const valarray< complex< T > > &in) |
real part of a complex valarray More... | |
template<class T > | |
valarray< T > | imag (const valarray< complex< T > > &in) |
imaginary part of a complex valarray More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator* (std::complex< T > left, std::valarray< T > right) |
Multiplying a complex number with a real valarray. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator* (const std::valarray< T > &left, const std::complex< T > &right) |
Multiplying a real valarray with a complex number. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator+ (std::complex< T > left, std::valarray< T > right) |
Adding a complex number to a real valarray. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator+ (const std::valarray< T > &left, std::complex< T > right) |
Multiplying a real valarray with a complex number. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator- (std::complex< T > left, std::valarray< T > right) |
Subtracting a real valarray from a complex number. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator- (const std::valarray< T > &left, const std::complex< T > &right) |
Subtracting a complex number from a real valarray. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator* (T left, std::valarray< std::complex< T > > right) |
template<class T > | |
std::valarray< std::complex< T > > | operator* (const std::valarray< std::complex< T > > &left, const T &right) |
Multiplying a real number with a complex valarray. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator+ (T left, std::valarray< std::complex< T > > right) |
Adding a complex valarray to a real number. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator+ (const std::valarray< std::complex< T > > &left, const T &right) |
Adding a real number with a complex valarray. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator- (T left, std::valarray< std::complex< T > > right) |
Subtracting a real number from a complex valarray. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator- (const std::valarray< std::complex< T > > &left, const T &right) |
Subtracting a complex valarray from a real number. More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator* (const std::valarray< std::complex< T > > &left, const std::valarray< T > &right) |
Multiplying a complex valarray to a real valarray: More... | |
template<class T > | |
std::valarray< std::complex< T > > | operator* (const std::valarray< T > &left, const std::valarray< std::complex< T > > &right) |
Multiplying a real valarray to a complex valarray: More... | |
string | int2str (int i) |
template<class T > | |
valarray< complex< T > > | pow (valarray< complex< T > > base, T power) |
std::valarray<std::complex<T> > std::dou2com | ( | const std::valarray< T > & | a, |
const std::valarray< T > & | b | ||
) |
Use this to make a complex valarray out of two real valarrays.
Definition at line 264 of file sis.hpp.
Referenced by operator*(), operator+(), and operator-().
valarray<T> std::imag | ( | const valarray< complex< T > > & | in | ) |
imaginary part of a complex valarray
Definition at line 291 of file sis.hpp.
Referenced by sis::Chebfun< std::complex< T > >::c2p(), sis::dct(), sis::dou2com(), sis::Chebfun< std::complex< T > >::evi(), sis::idct(), sis::Chebfun< std::complex< T > >::imag(), sis::Linop< std::complex< T > >::imag(), sis::Chebfun< std::complex< T > >::MultMat(), operator*(), operator+(), sis::operator+(), operator-(), sis::Chebfun< std::complex< T > >::p2c(), and sis::GeneralizedEigenSolver< std::complex< T > >::removeInf().
std::valarray<std::complex<T> > std::operator* | ( | std::complex< T > | left, |
std::valarray< T > | right | ||
) |
std::valarray<std::complex<T> > std::operator* | ( | const std::valarray< T > & | left, |
const std::complex< T > & | right | ||
) |
std::valarray<std::complex<T> > std::operator* | ( | T | left, |
std::valarray< std::complex< T > > | right | ||
) |
std::valarray<std::complex<T> > std::operator* | ( | const std::valarray< std::complex< T > > & | left, |
const T & | right | ||
) |
std::valarray<std::complex<T> > std::operator* | ( | const std::valarray< std::complex< T > > & | left, |
const std::valarray< T > & | right | ||
) |
std::valarray<std::complex<T> > std::operator* | ( | const std::valarray< T > & | left, |
const std::valarray< std::complex< T > > & | right | ||
) |
std::valarray<std::complex<T> > std::operator+ | ( | std::complex< T > | left, |
std::valarray< T > | right | ||
) |
std::valarray<std::complex<T> > std::operator+ | ( | const std::valarray< T > & | left, |
std::complex< T > | right | ||
) |
std::valarray<std::complex<T> > std::operator+ | ( | T | left, |
std::valarray< std::complex< T > > | right | ||
) |
std::valarray<std::complex<T> > std::operator+ | ( | const std::valarray< std::complex< T > > & | left, |
const T & | right | ||
) |
std::valarray<std::complex<T> > std::operator- | ( | std::complex< T > | left, |
std::valarray< T > | right | ||
) |
std::valarray<std::complex<T> > std::operator- | ( | const std::valarray< T > & | left, |
const std::complex< T > & | right | ||
) |
std::valarray<std::complex<T> > std::operator- | ( | T | left, |
std::valarray< std::complex< T > > | right | ||
) |
std::valarray<std::complex<T> > std::operator- | ( | const std::valarray< std::complex< T > > & | left, |
const T & | right | ||
) |
valarray<complex<T> > std::pow | ( | valarray< complex< T > > | base, |
T | power | ||
) |
valarray<T> std::real | ( | const valarray< complex< T > > & | in | ) |
real part of a complex valarray
Definition at line 280 of file sis.hpp.
Referenced by sis::Chebfun< std::complex< T > >::c2p(), OrdQz::compute(), sis::GeneralizedEigenSolver< T >::compute(), sis::GeneralizedEigenSolver< std::complex< T > >::compute(), sis::GeneralizedEigenSolver< T >::compute_with_constraints(), sis::GeneralizedEigenSolver< std::complex< T > >::computeAppend(), sis::dct(), dlyap(), sis::dou2com(), sis::Chebfun< std::complex< T > >::evr(), sis::idct(), sis::ifft_cs(), sis::Chebfun< std::complex< T > >::L2norm(), lyap(), main(), sis::Chebfun< std::complex< T > >::MultMat(), operator*(), operator+(), sis::operator+(), operator-(), sis::Chebfun< T >::p2c(), sis::Chebfun< std::complex< T > >::p2c(), sis::Chebfun< std::complex< T > >::real(), sis::Linop< std::complex< T > >::real(), and sis::GeneralizedEigenSolver< std::complex< T > >::removeInf().