scalar_promotions.h File Reference

#include <complex>
#include <cml/core/cml_meta.h>

Include dependency graph for scalar_promotions.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cml::et::detail::autopromote_trait< T >
struct  cml::et::detail::precision_trait< T >
struct  cml::et::detail::promote2< T1, T2, promoteToT1 >
struct  cml::et::detail::promote2< T1, T2, 0 >
struct  cml::et::detail::promote_trait< T1_orig, T2_orig >
struct  cml::et::ScalarPromote< E1, E2 >
 Defers to detail::promote_trait<>. More...

Namespaces

namespace  cml
namespace  cml::et
namespace  cml::et::detail

Defines

#define DECLARE_AUTOPROMOTE(T1, T2)
#define DECLARE_PRECISION(T, rank)


Detailed Description

Definition in file scalar_promotions.h.


Define Documentation

#define DECLARE_AUTOPROMOTE ( T1,
T2   ) 

Value:

template<>                            \
    struct autopromote_trait<T1> {        \
      typedef T2 T_numtype;               \
    };

Definition at line 63 of file scalar_promotions.h.

#define DECLARE_PRECISION ( T,
rank   ) 

Value:

template<>                                \
    struct precision_trait< T > {             \
        enum { precisionRank = rank,          \
           knowPrecisionRank = 1 };           \
    };

Definition at line 36 of file scalar_promotions.h.


Generated on Sat Jul 18 19:35:36 2009 for CML 1.0 by  doxygen 1.5.9