Functions for Lapack++ complex number type | |
complex (const _Tp &=_Tp(), const _Tp &=_Tp()) | |
template<typename _Up> | |
complex (const complex< _Up > &) | |
complex (const std::complex< _Tp > &) | |
_Tp | real () const |
_Tp | imag () const |
complex< _Tp > & | operator= (const _Tp &) |
complex< _Tp > & | operator+= (const _Tp &) |
complex< _Tp > & | operator-= (const _Tp &) |
complex< _Tp > & | operator *= (const _Tp &) |
complex< _Tp > & | operator/= (const _Tp &) |
template<typename _Up> | |
complex< _Tp > & | operator= (const complex< _Up > &) |
template<typename _Up> | |
complex< _Tp > & | operator+= (const complex< _Up > &) |
template<typename _Up> | |
complex< _Tp > & | operator-= (const complex< _Up > &) |
template<typename _Up> | |
complex< _Tp > & | operator *= (const complex< _Up > &) |
template<typename _Up> | |
complex< _Tp > & | operator/= (const complex< _Up > &) |
complex (COMPLEX) | |
operator COMPLEX () const | |
COMPLEX | toCOMPLEX () const |
operator std::complex () const | |
Public Types | |
typedef _Tp | value_type |
This type is used for passing scalars in and out of LAPACK++. It is a copy of the std::complex<double>
and it includes automatic conversion from and to std::complex<double>
. Additionally it includes automatic conversion from and to the internal FORTRAN type COMPLEX, which is why this class is needed to pass complex values into Lapack++.
Again: If you get errors when passing a std::complex<double>
into Lapack++, then you first need to convert your std::complex<double>
into this LaComplex
value.
typedef _Tp la::complex< _Tp >::value_type |
la::complex< _Tp >::complex | ( | const _Tp & | = _Tp() , |
|
const _Tp & | = _Tp() | |||
) | [inline] |
la::complex< _Tp >::complex | ( | const complex< _Up > & | ) | [inline] |
la::complex< _Tp >::complex | ( | const std::complex< _Tp > & | ) | [inline] |
la::complex< _Tp >::complex | ( | COMPLEX | ) | [inline] |
_Tp la::complex< _Tp >::real | ( | ) | const [inline] |
_Tp la::complex< _Tp >::imag | ( | ) | const [inline] |
complex< _Tp > & la::complex< _Tp >::operator= | ( | const _Tp & | ) |
complex< _Tp > & la::complex< _Tp >::operator+= | ( | const _Tp & | ) | [inline] |
complex< _Tp > & la::complex< _Tp >::operator-= | ( | const _Tp & | ) | [inline] |
complex< _Tp > & la::complex< _Tp >::operator *= | ( | const _Tp & | ) |
complex< _Tp > & la::complex< _Tp >::operator/= | ( | const _Tp & | ) |
complex< _Tp > & la::complex< _Tp >::operator= | ( | const complex< _Up > & | ) |
complex< _Tp > & la::complex< _Tp >::operator+= | ( | const complex< _Up > & | ) |
complex< _Tp > & la::complex< _Tp >::operator-= | ( | const complex< _Up > & | ) |
complex< _Tp > & la::complex< _Tp >::operator *= | ( | const complex< _Up > & | ) |
complex< _Tp > & la::complex< _Tp >::operator/= | ( | const complex< _Up > & | ) |
la::complex< _Tp >::operator COMPLEX | ( | ) | const [inline] |
COMPLEX la::complex< _Tp >::toCOMPLEX | ( | ) | const [inline] |
la::complex< _Tp >::operator std::complex< _Tp > | ( | ) | const [inline] |