Conform.h File Reference

A tag for checking whether the terms in an expression have conforming domains. More...

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


Classes

class  ConformTag< D >
 When evaluating expressions, we need to check to make sure that the left hand side has the same domain as the right. More...
struct  LeafFunctor< Scalar< T >, ConformTag< D > >
 Scalars conform with anything, so always return true. More...

Functions

conforms(Domain,ConformTag)
Check to see whether a given domain conforms with the given ConformTag.

We just check to see if the length of each dimension is the same. We specialize this for ranks 1 thru 7 for efficiency.

template<class Domain >
bool conforms (const Domain &d, const ConformTag< 1 > &ct)
template<class Domain >
bool conforms (const Domain &d, const ConformTag< 2 > &ct)
template<class Domain >
bool conforms (const Domain &d, const ConformTag< 3 > &ct)
template<class Domain >
bool conforms (const Domain &d, const ConformTag< 4 > &ct)
template<class Domain >
bool conforms (const Domain &d, const ConformTag< 5 > &ct)
template<class Domain >
bool conforms (const Domain &d, const ConformTag< 6 > &ct)
template<class Domain >
bool conforms (const Domain &d, const ConformTag< 7 > &ct)

Detailed Description

A tag for checking whether the terms in an expression have conforming domains.


Function Documentation

template<class Domain >
bool conforms ( const Domain d,
const ConformTag< 1 > &  ct 
) [inline]

template<class Domain >
bool conforms ( const Domain d,
const ConformTag< 2 > &  ct 
) [inline]

template<class Domain >
bool conforms ( const Domain d,
const ConformTag< 3 > &  ct 
) [inline]

template<class Domain >
bool conforms ( const Domain d,
const ConformTag< 4 > &  ct 
) [inline]

template<class Domain >
bool conforms ( const Domain d,
const ConformTag< 5 > &  ct 
) [inline]

template<class Domain >
bool conforms ( const Domain d,
const ConformTag< 6 > &  ct 
) [inline]

template<class Domain >
bool conforms ( const Domain d,
const ConformTag< 7 > &  ct 
) [inline]


Generated on Wed Mar 16 06:16:30 2011 for FreePOOMA by  doxygen 1.5.9