|
||||
File indexing completed on 2025-01-18 09:54:33
0001 // -*- C++ -*- 0002 // $Id: AbsFunctional.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $ 0003 // A functional is a mapping from functions to real numbers. 0004 // Here is their base class: 0005 #ifndef _AbsFunctional_h_ 0006 #define _AbsFunctional_h_ 0007 0008 namespace Genfun { 0009 0010 class AbsFunction; 0011 0012 /** 0013 * @author 0014 * @ingroup genfun 0015 */ 0016 class AbsFunctional { 0017 0018 public: 0019 0020 // Constructor 0021 AbsFunctional(); 0022 0023 // Destructor: 0024 virtual ~AbsFunctional(); 0025 0026 // A functional is a mapping from functions to 0027 // real numbers. This defines that mapping: 0028 virtual double operator[] (const AbsFunction & function) const = 0; 0029 0030 }; 0031 } // namespace Genfun 0032 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |