a real root with greatest absolute magnitude. A real root is defined as the real part of a complex root with absolute imaginary part smallest than absImaginaryThreshold. absImaginaryThreshold takes the dummy_precision associated with the _Scalar template parameter of the PolynomialSolver class as the default value. If no real root is found the boolean hasArealRoot is set to false and the real part of the root with smallest absolute imaginary part is returned instead.
Parameters
[out]
hasArealRoot
: boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise.
[in]
absImaginaryThreshold
: threshold on the absolute imaginary part to decide whether or not a root is real.
a real root with smallest absolute magnitude. A real root is defined as the real part of a complex root with absolute imaginary part smallest than absImaginaryThreshold. absImaginaryThreshold takes the dummy_precision associated with the _Scalar template parameter of the PolynomialSolver class as the default value. If no real root is found the boolean hasArealRoot is set to false and the real part of the root with smallest absolute imaginary part is returned instead.
Parameters
[out]
hasArealRoot
: boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise.
[in]
absImaginaryThreshold
: threshold on the absolute imaginary part to decide whether or not a root is real.
the real root with greatest value. A real root is defined as the real part of a complex root with absolute imaginary part smallest than absImaginaryThreshold. absImaginaryThreshold takes the dummy_precision associated with the _Scalar template parameter of the PolynomialSolver class as the default value. If no real root is found the boolean hasArealRoot is set to false and the real part of the root with smallest absolute imaginary part is returned instead.
Parameters
[out]
hasArealRoot
: boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise.
[in]
absImaginaryThreshold
: threshold on the absolute imaginary part to decide whether or not a root is real.
Clear and fills the back insertion sequence with the real roots of the polynomial i.e. the real part of the complex roots that have an imaginary part which absolute value is smaller than absImaginaryThreshold. absImaginaryThreshold takes the dummy_precision associated with the _Scalar template parameter of the PolynomialSolver class as the default value.
Parameters
[out]
bi_seq
: the back insertion sequence (stl concept)
[in]
absImaginaryThreshold
: the maximum bound of the imaginary part of a complex number that is considered as real.
the real root with smallest value. A real root is defined as the real part of a complex root with absolute imaginary part smallest than absImaginaryThreshold. absImaginaryThreshold takes the dummy_precision associated with the _Scalar template parameter of the PolynomialSolver class as the default value. If no real root is found the boolean hasArealRoot is set to false and the real part of the root with smallest absolute imaginary part is returned instead.
Parameters
[out]
hasArealRoot
: boolean true if a real root is found according to the absImaginaryThreshold criterion, false otherwise.
[in]
absImaginaryThreshold
: threshold on the absolute imaginary part to decide whether or not a root is real.