Public Types | Public Member Functions

ct_unary_expr< LHS, OP > Class Template Reference

Defines a unary expression f(e), where f is function and 'e' is an expression. More...

#include <ct_unary_expr.hpp>

Public Types

typedef OP::numeric_type numeric_type
typedef LHS lhs_type
typedef OP op_type

Public Member Functions

 ct_unary_expr ()
 ct_unary_expr (internal_lhs_type lhs)
internal_lhs_type lhs () const
 Returns the operation the unary operation is acting on.
template<typename VectorType >
numeric_type operator() (VectorType const &v) const

Detailed Description

template<typename LHS, typename OP>
class viennamath::ct_unary_expr< LHS, OP >

Defines a unary expression f(e), where f is function and 'e' is an expression.

Template Parameters:
LHS The expression on which the unary operation acts
OP A tag identifying the operation

Member Typedef Documentation

typedef LHS lhs_type
typedef OP::numeric_type numeric_type
typedef OP op_type

Constructor & Destructor Documentation

ct_unary_expr (  )  [inline, explicit]
ct_unary_expr ( internal_lhs_type  lhs  )  [inline, explicit]

Member Function Documentation

internal_lhs_type lhs (  )  const [inline]

Returns the operation the unary operation is acting on.

numeric_type operator() ( VectorType const &  v  )  const [inline]

The documentation for this class was generated from the following file: