Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
Sacado_ETPCE_OrthogPolyOps.hpp File Reference
#include "Sacado_cmath.hpp"
#include <ostream>
Include dependency graph for Sacado_ETPCE_OrthogPolyOps.hpp:

Go to the source code of this file.

Classes

class  Sacado::ETPCE::MultiplicationOp< ExprT1, ExprT2 >
 
class  Sacado::ETPCE::Expr< MultiplicationOp< Expr< T1 >, Expr< T2 > > >
 
class  Sacado::ETPCE::Expr< MultiplicationOp< Expr< T1 >, typename Expr< T1 >::value_type > >
 
class  Sacado::ETPCE::Expr< MultiplicationOp< typename Expr< T2 >::value_type, Expr< T2 > > >
 
class  Sacado::ETPCE::DivisionOp< ExprT1, ExprT2 >
 
class  Sacado::ETPCE::Expr< DivisionOp< Expr< T1 >, Expr< T2 > > >
 
class  Sacado::ETPCE::Expr< DivisionOp< Expr< T1 >, typename Expr< T1 >::value_type > >
 
class  Sacado::ETPCE::Expr< DivisionOp< typename Expr< T2 >::value_type, Expr< T2 > > >
 

Namespaces

 Sacado
 
 Sacado::ETPCE
 

Macros

#define LINEAR_PCE_UNARYOP_MACRO(OPNAME, OP, OPER)
 
#define NONLINEAR_PCE_UNARYOP_MACRO(OPNAME, OP, OPER)
 
#define LINEAR_PCE_BINARYOP_MACRO(OPNAME, OP, OPER)
 
#define NONLINEAR_PCE_BINARYOP_MACRO(OPNAME, OP, OPER)
 
#define PCE_RELOP_MACRO(OP)
 
#define PCE_BOOL_MACRO(OP)
 

Functions

template<typename T1 , typename T2 >
Expr< MultiplicationOp< Expr
< T1 >, Expr< T2 > > > 
Sacado::ETPCE::operator* (const Expr< T1 > &expr1, const Expr< T2 > &expr2)
 
template<typename T >
Expr< MultiplicationOp< Expr
< T >, Expr< T > > > 
Sacado::ETPCE::operator* (const Expr< T > &expr1, const Expr< T > &expr2)
 
template<typename T >
Expr< MultiplicationOp
< typename Expr< T >
::value_type, Expr< T > > > 
Sacado::ETPCE::operator* (const typename Expr< T >::value_type &c, const Expr< T > &expr)
 
template<typename T >
Expr< MultiplicationOp< Expr
< T >, typename Expr< T >
::value_type > > 
Sacado::ETPCE::operator* (const Expr< T > &expr, const typename Expr< T >::value_type &c)
 
template<typename T1 , typename T2 >
Expr< DivisionOp< Expr< T1 >
, Expr< T2 > > > 
Sacado::ETPCE::operator/ (const Expr< T1 > &expr1, const Expr< T2 > &expr2)
 
template<typename T >
Expr< DivisionOp< Expr< T >
, Expr< T > > > 
Sacado::ETPCE::operator/ (const Expr< T > &expr1, const Expr< T > &expr2)
 
template<typename T >
Expr< DivisionOp< typename
Expr< T >::value_type, Expr< T > > > 
Sacado::ETPCE::operator/ (const typename Expr< T >::value_type &c, const Expr< T > &expr)
 
template<typename T >
Expr< DivisionOp< Expr< T >
, typename Expr< T >
::value_type > > 
Sacado::ETPCE::operator/ (const Expr< T > &expr, const typename Expr< T >::value_type &c)
 
template<typename ExprT >
bool Sacado::ETPCE::operator! (const Expr< ExprT > &expr)
 
template<typename ExprT >
bool Sacado::ETPCE::toBool (const Expr< ExprT > &x)
 
template<typename ExprT >
std::ostream & Sacado::ETPCE::operator<< (std::ostream &os, const Expr< ExprT > &x)
 

Macro Definition Documentation

#define LINEAR_PCE_UNARYOP_MACRO (   OPNAME,
  OP,
  OPER 
)

Definition at line 48 of file Sacado_ETPCE_OrthogPolyOps.hpp.

#define NONLINEAR_PCE_UNARYOP_MACRO (   OPNAME,
  OP,
  OPER 
)

Definition at line 126 of file Sacado_ETPCE_OrthogPolyOps.hpp.

#define LINEAR_PCE_BINARYOP_MACRO (   OPNAME,
  OP,
  OPER 
)

Definition at line 236 of file Sacado_ETPCE_OrthogPolyOps.hpp.

#define NONLINEAR_PCE_BINARYOP_MACRO (   OPNAME,
  OP,
  OPER 
)

Definition at line 514 of file Sacado_ETPCE_OrthogPolyOps.hpp.

#define PCE_RELOP_MACRO (   OP)
Value:
namespace Sacado { \
namespace ETPCE { \
template <typename ExprT1, typename ExprT2> \
inline bool \
operator OP (const Expr<ExprT1>& expr1, \
const Expr<ExprT2>& expr2) \
{ \
return expr1.val() OP expr2.val(); \
} \
\
template <typename ExprT2> \
inline bool \
operator OP (const typename Expr<ExprT2>::value_type& a, \
const Expr<ExprT2>& expr2) \
{ \
return a OP expr2.val(); \
} \
\
template <typename ExprT1> \
inline bool \
operator OP (const Expr<ExprT1>& expr1, \
const typename Expr<ExprT1>::value_type& b) \
{ \
return expr1.val() OP b; \
} \
} \
}

Definition at line 1373 of file Sacado_ETPCE_OrthogPolyOps.hpp.

#define PCE_BOOL_MACRO (   OP)
Value:
namespace Sacado { \
namespace ETPCE { \
template <typename ExprT1, typename ExprT2> \
inline bool \
operator OP (const Expr<ExprT1>& expr1, \
const Expr<ExprT2>& expr2) \
{ \
return toBool(expr1) OP toBool(expr2); \
} \
\
template <typename ExprT2> \
inline bool \
operator OP (const typename Expr<ExprT2>::value_type& a, \
const Expr<ExprT2>& expr2) \
{ \
return a OP toBool(expr2); \
} \
\
template <typename ExprT1> \
inline bool \
operator OP (const Expr<ExprT1>& expr1, \
const typename Expr<ExprT1>::value_type& b) \
{ \
return toBool(expr1) OP b; \
} \
} \
}
KOKKOS_INLINE_FUNCTION bool toBool(const Expr< ExprT, ExprSpecMPVector > &x)

Definition at line 1446 of file Sacado_ETPCE_OrthogPolyOps.hpp.