MINT2
BasicComplex.h
Go to the documentation of this file.
1 #ifndef MINT_BASIC_COMPLEX_CLASS_HH
2 #define MINT_BASIC_COMPLEX_CLASS_HH
3 // author: Jonas Rademacker (Jonas.Rademacker@bristol.ac.uk)
4 // status: Mon 9 Feb 2009 19:17:55 GMT
5 #include "Mint/IReturnComplex.h"
6 #include <complex>
7 namespace MINT{
8  class BasicComplex : virtual public IReturnComplex{
9  std::complex<double> _z;
10  public:
11  BasicComplex(double initVal=0);
12  BasicComplex(const std::complex<double>& initVal);
13  BasicComplex(const BasicComplex& other);
15 
16  virtual std::complex<double> ComplexVal();
17  virtual void setVal(std::complex<double>& val);
18  virtual std::complex<double> getVal() const;
19 
20  virtual ~BasicComplex(){};
21  };
22 }
23 #endif
24 //
25 
virtual std::complex< double > getVal() const
virtual std::complex< double > ComplexVal()
BasicComplex(double initVal=0)
Definition: BasicComplex.cpp:7
virtual ~BasicComplex()
Definition: BasicComplex.h:20
virtual void setVal(std::complex< double > &val)
std::complex< double > _z
Definition: BasicComplex.h:9