casa
5.7.0-16
|
Templated functions to convert scalars from one type to another. More...
#include <ConvertScalar.h>
Public Member Functions | |
template<class T , class F > | |
void | convertScalar (T &out, F in) |
void | convertScalar (Complex &out, DComplex in) |
Templated functions to convert scalars from one type to another.
Templated functions to convert scalars from one type to another. They are useful to be able to convert a DComplex to a Complex in templated classes. A Complex,DComplex specialisation is necessary because the complex class in the standard C++ library does not have such an automatic conversion.
Definition at line 53 of file ConvertScalar.h.
|
inline |
Definition at line 54 of file ConvertScalar.h.
|
inline |
Definition at line 56 of file ConvertScalar.h.