|
Sacado Package Browser (Single Doxygen Collection) Version of the Day
|
#include "Sacado_Tay_CacheTaylorExpr.hpp"#include <cmath>#include <valarray>#include <algorithm>#include <ostream>#include "Sacado_mpl_disable_if.hpp"#include "Sacado_mpl_is_same.hpp"

Go to the source code of this file.
| #define TAYLOR_UNARYOP_MACRO | ( | OPNAME, | |
| OP | |||
| ) |
namespace Sacado { \ namespace Tay { \ template <typename T> \ inline Expr< UnaryExpr< Expr<T>, OP > > \ OPNAME (const Expr<T>& expr) \ { \ typedef UnaryExpr< Expr<T>, OP > expr_t; \ \ return Expr<expr_t>(expr_t(expr)); \ } \ } \ } \ \ namespace std { \ using Sacado::Tay::OPNAME; \ }
Definition at line 576 of file Sacado_Tay_CacheTaylorOps.hpp.
| #define TAYLOR_BINARYOP_MACRO | ( | OPNAME, | |
| OP | |||
| ) |
Definition at line 1434 of file Sacado_Tay_CacheTaylorOps.hpp.
| #define TAYLOR_SFINAE_BINARYOP_MACRO | ( | OPNAME, | |
| OP | |||
| ) |
Definition at line 1487 of file Sacado_Tay_CacheTaylorOps.hpp.
| #define TAYLOR_RELOP_MACRO | ( | OP | ) |
namespace Sacado { \ namespace Tay { \ template <typename ExprT1, typename ExprT2> \ inline bool \ operator OP (const Expr<ExprT1>& expr1, \ const Expr<ExprT2>& expr2) \ { \ return expr1.fastAccessCoeff(0) OP expr2.fastAccessCoeff(0); \ } \ \ template <typename ExprT2> \ inline bool \ operator OP (const typename Expr<ExprT2>::value_type& a, \ const Expr<ExprT2>& expr2) \ { \ return a OP expr2.fastAccessCoeff(0); \ } \ \ template <typename ExprT1> \ inline bool \ operator OP (const Expr<ExprT1>& expr1, \ const typename Expr<ExprT1>::value_type& b) \ { \ return expr1.fastAccessCoeff(0) OP b; \ } \ } \ }
Definition at line 1752 of file Sacado_Tay_CacheTaylorOps.hpp.
| #define TAY_BOOL_MACRO | ( | OP | ) |
namespace Sacado { \ namespace Tay { \ template <typename ExprT1, typename ExprT2> \ inline bool \ operator OP (const Expr<ExprT1>& expr1, \ const Expr<ExprT2>& expr2) \ { \ return toBool2(expr1) OP toBool2(expr2); \ } \ \ template <typename ExprT2> \ inline bool \ operator OP (const typename Expr<ExprT2>::value_type& a, \ const Expr<ExprT2>& expr2) \ { \ return a OP toBool2(expr2); \ } \ \ template <typename ExprT1> \ inline bool \ operator OP (const Expr<ExprT1>& expr1, \ const typename Expr<ExprT1>::value_type& b) \ { \ return toBool2(expr1) OP b; \ } \ } \ }
Definition at line 1825 of file Sacado_Tay_CacheTaylorOps.hpp.
1.7.4