1 #ifndef __EQ2DEGCOMP_HPP 2 #define __EQ2DEGCOMP_HPP 27 std::vector<std::complex<double>>
m_rac;
36 Eq2degComp(
const double& iA,
const double& iB,
const double& iC );
54 std::complex<double>
getRoot(
const int& iRootNumber)
const;
61 virtual std::string describe()
const;
64 #endif //__EQ2DEGCOMP_HPP virtual void computeDelta()
compute the discriminant
Definition: Eq2degComp.cpp:22
std::complex< double > getRoot(const int &iRootNumber) const
Get the root value by number.
Definition: Eq2degComp.cpp:43
Eq2degComp(const double &iA, const double &iB, const double &iC)
Construct a new Eq2degComp object.
Definition: Eq2degComp.cpp:13
Definition: Eq2deg.hpp:26
Definition: Eq2degComp.hpp:24
bool m_complexRoots
Definition: Eq2degComp.hpp:26
virtual void computeRoots()
Compute the roots.
Definition: Eq2degComp.cpp:28
std::vector< std::complex< double > > m_rac
Definition: Eq2degComp.hpp:27
virtual ~Eq2degComp()
Definition: Eq2degComp.cpp:19