Sacado Package Browser (Single Doxygen Collection) Version of the Day
Defines | Functions | Variables
Sacado_LFad_LogicalSparseOps.hpp File Reference
#include <cmath>
#include <algorithm>
#include <ostream>
Include dependency graph for Sacado_LFad_LogicalSparseOps.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define FAD_UNARYOP_MACRO(OPNAME, OP, VALUE)
#define FAD_BINARYOP_MACRO(OPNAME, OP, VALUE, DX, FASTACCESSDX, VAL_CONST_DX_1, VAL_CONST_DX_2, CONST_DX_1, CONST_DX_2, CONST_FASTACCESSDX_1, CONST_FASTACCESSDX_2)
#define FAD_RELOP_MACRO(OP)

Functions

 FAD_UNARYOP_MACRO (operator+, UnaryPlusOp, expr.val()) FAD_UNARYOP_MACRO(operator-
expr val ()) FAD_UNARYOP_MACRO(exp
expr acosh (expr.val())) FAD_UNARYOP_MACRO(asinh
expr asinh (expr.val())) FAD_UNARYOP_MACRO(atanh
expr atanh (expr.val())) FAD_UNARYOP_MACRO(abs
expr expr1 expr1 dx (i)||expr2.dx(i)
expr expr1 expr1 expr1 fastAccessDx (i)||expr2.fastAccessDx(i)

Variables

 UnaryMinusOp
expr ExpOp
expr LogOp
expr Log10Op
expr SqrtOp
expr CosOp
expr SinOp
expr TanOp
expr ACosOp
expr ASinOp
expr ATanOp
expr CoshOp
expr SinhOp
expr TanhOp
expr ACoshOp
expr ASinhOp
expr ATanhOp
expr AbsOp
expr FAbsOp
expr AdditionOp
expr expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1 
SubtractionOp
expr expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1 
MultiplicationOp
expr expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c *expr2
expr1 expr2 expr1 expr2 expr1 
DivisionOp
expr expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c *expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1 
Atan2Op
expr expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c *expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr2 expr1 expr2
expr1 
PowerOp
expr expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c *expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr2 expr1 expr2
expr1 expr1 expr1 expr2 expr1
expr2 expr1 
MaxOp
expr expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c *expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr1 c expr2
expr1 expr2 expr1 expr2 expr1
expr1 expr1 expr2 expr1 expr2
expr1 expr1 expr1 expr2 expr1
expr2 expr1 expr1 expr1 
c = expr2.val() ? logical_type(0) : expr2.dx(i)

Define Documentation

#define FAD_UNARYOP_MACRO (   OPNAME,
  OP,
  VALUE 
)

Definition at line 61 of file Sacado_LFad_LogicalSparseOps.hpp.

#define FAD_BINARYOP_MACRO (   OPNAME,
  OP,
  VALUE,
  DX,
  FASTACCESSDX,
  VAL_CONST_DX_1,
  VAL_CONST_DX_2,
  CONST_DX_1,
  CONST_DX_2,
  CONST_FASTACCESSDX_1,
  CONST_FASTACCESSDX_2 
)
#define FAD_RELOP_MACRO (   OP)
Value:
namespace Sacado {              \
  namespace LFad {              \
    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;            \
    }                 \
  }                 \
}

Function Documentation

FAD_UNARYOP_MACRO ( operator+  ,
UnaryPlusOp  ,
expr.  val() 
)
expr val ( )
expr acosh ( expr.  val())
expr asinh ( expr.  val())
expr atanh ( expr.  val())
expr expr1 expr1 dx ( )
expr expr1 expr1 expr1 fastAccessDx ( )

Variable Documentation

Definition at line 115 of file Sacado_LFad_LogicalSparseOps.hpp.

expr ExpOp

Definition at line 118 of file Sacado_LFad_LogicalSparseOps.hpp.

expr LogOp

Definition at line 121 of file Sacado_LFad_LogicalSparseOps.hpp.

expr Log10Op

Definition at line 124 of file Sacado_LFad_LogicalSparseOps.hpp.

expr SqrtOp

Definition at line 127 of file Sacado_LFad_LogicalSparseOps.hpp.

expr CosOp

Definition at line 130 of file Sacado_LFad_LogicalSparseOps.hpp.

expr SinOp

Definition at line 133 of file Sacado_LFad_LogicalSparseOps.hpp.

expr TanOp

Definition at line 136 of file Sacado_LFad_LogicalSparseOps.hpp.

expr ACosOp

Definition at line 139 of file Sacado_LFad_LogicalSparseOps.hpp.

expr ASinOp

Definition at line 142 of file Sacado_LFad_LogicalSparseOps.hpp.

expr ATanOp

Definition at line 145 of file Sacado_LFad_LogicalSparseOps.hpp.

expr CoshOp

Definition at line 148 of file Sacado_LFad_LogicalSparseOps.hpp.

expr SinhOp

Definition at line 151 of file Sacado_LFad_LogicalSparseOps.hpp.

expr TanhOp

Definition at line 154 of file Sacado_LFad_LogicalSparseOps.hpp.

expr ACoshOp

Definition at line 157 of file Sacado_LFad_LogicalSparseOps.hpp.

expr ASinhOp

Definition at line 160 of file Sacado_LFad_LogicalSparseOps.hpp.

expr ATanhOp

Definition at line 163 of file Sacado_LFad_LogicalSparseOps.hpp.

expr AbsOp

Definition at line 166 of file Sacado_LFad_LogicalSparseOps.hpp.

expr FAbsOp

Definition at line 169 of file Sacado_LFad_LogicalSparseOps.hpp.

expr AdditionOp

Definition at line 359 of file Sacado_LFad_LogicalSparseOps.hpp.

expr expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 SubtractionOp

Definition at line 370 of file Sacado_LFad_LogicalSparseOps.hpp.

expr expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 MultiplicationOp

Definition at line 381 of file Sacado_LFad_LogicalSparseOps.hpp.

expr expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c* expr2 expr1 expr2 expr1 expr2 expr1 DivisionOp

Definition at line 392 of file Sacado_LFad_LogicalSparseOps.hpp.

expr expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c* expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 Atan2Op

Definition at line 403 of file Sacado_LFad_LogicalSparseOps.hpp.

expr expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c* expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr2 expr1 expr2 expr1 PowerOp

Definition at line 414 of file Sacado_LFad_LogicalSparseOps.hpp.

expr expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c* expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr2 expr1 expr2 expr1 MaxOp

Definition at line 425 of file Sacado_LFad_LogicalSparseOps.hpp.

expr expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c* expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c expr2 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr2 expr1 expr2 expr1 expr1 expr1 expr1 c = expr2.val() ? logical_type(0) : expr2.dx(i)

Definition at line 432 of file Sacado_LFad_LogicalSparseOps.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines