#include <borderbasix/arithm/RealOf.hpp>
Public Types | |
typedef Warning_Value_Type_Not_Defined | TYPE |
The class RealOf is a traits class used to specify the type corresponding to the algebraic closure. The real class type of a class T
is RealOf<T>::TYPE
. This class also contains the functions
void assign(T & a, const complex<T> & b)
which assigns a real from a complex number complex<T>
by taking the real part,T absolute(const T & a)
which return the absolute values of a
for T=int, double, complex<T>
.
The default TYPE
of RealOf<T>
is the empty class Warning_Value_Type_Not_Defined
.
typedef Warning_Value_Type_Not_Defined RealOf< T >::TYPE |