#include "CLHEP/Matrix/Matrix.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Matrix/Vector.h"
#include "MdcRecoUtil/Code.h"
#include <assert.h>
#include <math.h>
#include <iosfwd>
#include "MdcRecoUtil/DifNumber.icc"
Go to the source code of this file.
◆ MATRIX_BOUND_CHECK
| #define MATRIX_BOUND_CHECK |
◆ solveQuad()
Definition at line 91 of file DifNumber.cxx.
96{
98 if ( descr < 0.0 )
99 {
102 }
104 {
106 {
109 }
111 return -c / b + a * c / pow( b, 3 );
112 }
114 descr = sqrt( descr );
116
117 if ( pref == +1 )
118 {
120 }
121 else if ( pref == -1 )
122 {
124 }
125 else if ( pref == 0 )
126 {
127 if (
s > 0.0 ) {
s -= descr; }
129 }
130 else
131 {
134 }
137}