Go to the source code of this file.
Typedefs | |
typedef doublecomplex | COMPLEX |
Complex type that is used in LAPACK++ internally. | |
typedef la::complex< double > | LaComplex |
Complex data type that can be used from the application. | |
Functions | |
std::ostream & | operator<< (std::ostream &__os, const COMPLEX &__x) |
bool | operator== (const COMPLEX &_a, const COMPLEX &_b) |
bool | operator!= (const COMPLEX &_a, const COMPLEX &_b) |
This file exists to be a replacement to Lapack++'s inclusion of <complex.h>.
typedef doublecomplex COMPLEX |
Complex type that is used in LAPACK++ internally.
The complex type inside LAPACK++ should be the FORTRAN type, since LAPACK++ has to pass these values back and forth to the FORTRAN functions. Don't use this data type anywhere outside anymore.
typedef la::complex<double> LaComplex |
Complex data type that can be used from the application.
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.
std::ostream& operator<< | ( | std::ostream & | __os, | |
const COMPLEX & | __x | |||
) | [inline] |
Additional operator to make stream output easier.
Equality operator for COMPLEX. (New in lapackpp-2.4.5)
Inequality operator for COMPLEX. (New in lapackpp-2.4.5)