MINT2
Classes | Namespaces | Functions
FitComplex.h File Reference
#include <string>
#include <iostream>
#include <complex>
#include "Mint/counted_ptr.h"
#include "Mint/NamedParameter.h"
#include "Mint/MinuitParameterSet.h"
#include "Mint/NamedParameterBase.h"
#include "Mint/FitParameter.h"
#include "Mint/IReturnComplex.h"
#include "Mint/FitParDependent.h"
#include "Mint/Phase.h"

Go to the source code of this file.

Classes

class  MINT::FitComplex
 

Namespaces

 MINT
 

Functions

counted_ptr< FitComplexMINT::FitComplexMaker (const std::string &name, const char *fname=0, MinuitParameterSet *pset=0, MINT::IFitParRegister *daddy=0, FitParameter::FIX_OR_WHAT fow=FitParameter::FIX, NamedParameterBase::VERBOSITY vb=NamedParameterBase::VERBOSE)
 
std::complex< double > operator * (const std::complex< double > &cplx, const MINT::FitComplex &fc)
 
std::complex< double > operator * (const MINT::FitComplex &fc, const std::complex< double > &cplx)
 
std::complex< double > operator+ (const std::complex< double > &cplx, const MINT::FitComplex &fc)
 
std::complex< double > operator+ (const MINT::FitComplex &fc, const std::complex< double > &cplx)
 
std::complex< double > operator- (const std::complex< double > &cplx, const MINT::FitComplex &fc)
 
std::complex< double > operator- (const MINT::FitComplex &fc, const std::complex< double > &cplx)
 
std::complex< double > operator/ (const std::complex< double > &cplx, const MINT::FitComplex &fc)
 
std::complex< double > operator/ (const MINT::FitComplex &fc, const std::complex< double > &cplx)
 
std::ostream & operator<< (std::ostream &os, const MINT::FitComplex &fc)
 

Function Documentation

◆ operator *() [1/2]

std::complex<double> operator * ( const std::complex< double > &  cplx,
const MINT::FitComplex fc 
)

Definition at line 86 of file FitComplex.cpp.

87  {
88  return cplx * fc.getVal();
89 }
virtual std::complex< double > getVal() const =0

◆ operator *() [2/2]

std::complex<double> operator * ( const MINT::FitComplex fc,
const std::complex< double > &  cplx 
)

Definition at line 90 of file FitComplex.cpp.

91  {
92  return fc.getVal() * cplx;
93 }
virtual std::complex< double > getVal() const =0

◆ operator+() [1/2]

std::complex<double> operator+ ( const std::complex< double > &  cplx,
const MINT::FitComplex fc 
)

Definition at line 95 of file FitComplex.cpp.

96  {
97  return cplx + fc.getVal();
98 }
virtual std::complex< double > getVal() const =0

◆ operator+() [2/2]

std::complex<double> operator+ ( const MINT::FitComplex fc,
const std::complex< double > &  cplx 
)

Definition at line 99 of file FitComplex.cpp.

100  {
101  return fc.getVal() + cplx;
102 }
virtual std::complex< double > getVal() const =0

◆ operator-() [1/2]

std::complex<double> operator- ( const std::complex< double > &  cplx,
const MINT::FitComplex fc 
)

Definition at line 104 of file FitComplex.cpp.

105  {
106  return cplx - fc.getVal();
107 }
virtual std::complex< double > getVal() const =0

◆ operator-() [2/2]

std::complex<double> operator- ( const MINT::FitComplex fc,
const std::complex< double > &  cplx 
)

Definition at line 108 of file FitComplex.cpp.

109  {
110  return fc.getVal() - cplx;
111 }
virtual std::complex< double > getVal() const =0

◆ operator/() [1/2]

std::complex<double> operator/ ( const std::complex< double > &  cplx,
const MINT::FitComplex fc 
)

Definition at line 113 of file FitComplex.cpp.

114  {
115  return cplx / fc.getVal();
116 }
virtual std::complex< double > getVal() const =0

◆ operator/() [2/2]

std::complex<double> operator/ ( const MINT::FitComplex fc,
const std::complex< double > &  cplx 
)

Definition at line 117 of file FitComplex.cpp.

118  {
119  return fc.getVal()/cplx;
120 }
virtual std::complex< double > getVal() const =0

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const MINT::FitComplex fc 
)

Definition at line 122 of file FitComplex.cpp.

122  {
123  fc.print(os);
124  return os;
125 }
virtual void print(std::ostream &os=std::cout) const
Definition: FitComplex.cpp:81