#include <math.h>
#include <assert.h>
#include "CLHEP/Matrix/Vector.h"
#include "CLHEP/Matrix/SymMatrix.h"
#include "CLHEP/Matrix/Matrix.h"
#include "MdcRecoUtil/Code.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 90 of file DifNumber.cxx.
96{
98 if(descr<0.0) {
101 }
103 if(
b.number()==0.0) {
106 }
108 return -c/
b+a*c/pow(
b,3);
109 }
111 descr=sqrt(descr);
113
114 if(pref==+1) {
116 }else if(pref==-1){
118 }else if(pref==0) {
119 if(
s>0.0) {
s-=descr;}
else {
s+=descr;}
120 }else {
123 }
126}