QuOc

 

Public Member Functions | Protected Attributes

aol::FunctorFromOp< RealType > Class Template Reference

#include <derivativeFreeOptimization.h>

List of all members.

Public Member Functions

 FunctorFromOp (const Op< RealType, Scalar< RealType > > &Operator)
RealType operator() (RealType Arg) const

Protected Attributes

const Op< RealType, Scalar
< RealType > > & 
_operator

Detailed Description

template<typename RealType>
class aol::FunctorFromOp< RealType >

Definition at line 22 of file derivativeFreeOptimization.h.


Constructor & Destructor Documentation

template<typename RealType >
aol::FunctorFromOp< RealType >::FunctorFromOp ( const Op< RealType, Scalar< RealType > > &  Operator  )  [inline]

Definition at line 25 of file derivativeFreeOptimization.h.

    : _operator ( Operator )
  {}


Member Function Documentation

template<typename RealType >
RealType aol::FunctorFromOp< RealType >::operator() ( RealType  Arg  )  const [inline]

Definition at line 29 of file derivativeFreeOptimization.h.

References aol::FunctorFromOp< RealType >::_operator, and aol::Op< _DomainType, _RangeType >::apply().

                                              {
    Scalar<RealType> Dest;
    _operator.apply ( Arg, Dest );
    return Dest;
  }


Member Data Documentation

template<typename RealType >
const Op<RealType, Scalar<RealType> >& aol::FunctorFromOp< RealType >::_operator [protected]

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

Generated on Fri Sep 9 2011 21:08:53 for QuocMesh by doxygen 1.7.1