• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

MLAPI_BaseLinearCombination.h

Go to the documentation of this file.
00001 #ifndef ML_BASELINEARCOMBINATION_H
00002 #define ML_BASELINEARCOMBINATION_H
00003 
00013 /* ******************************************************************** */
00014 /* See the file COPYRIGHT for a complete copyright notice, contact      */
00015 /* person and disclaimer.                                               */        
00016 /* ******************************************************************** */
00017 
00018 namespace MLAPI {
00019 
00020 class Space;
00021 class BaseOperator;
00022 class MultiVector;
00023 
00024 class BaseLinearCombination 
00025 {
00026 public:
00027   virtual ~BaseLinearCombination() {};
00028 
00030   virtual const Space GetVectorSpace() const = 0;
00031   // Computes v += <operations>
00032   virtual void Update(MultiVector& v) const = 0;
00033   // Computes v = <operations>
00034   virtual void Set(MultiVector& v) const = 0;
00035 };
00036 
00037 } // namespace MLAPI
00038 
00039 #endif // ifdef ML_BASELINEARCOMBINATION_H