34 #ifndef G4ParticleHPVector_h
35 #define G4ParticleHPVector_h 1
276 G4int s_tmp = 0, n=0, m_tmp=0;
361 result =
theLin.
Lin(rand, x1, x2, y1, y2);
405 if(!_finite(integ)){integ=0;}
406 #elif defined __IBMCPP__
407 if(isinf(integ)||isnan(integ)){integ=0;}
409 if(std::isinf(integ)||std::isnan(integ)){integ=0;}
443 sum+= 0.5*(y2+
y1)*(x2-x1);
449 sum+= (a-
b)*(x2-x1) + b*(x2*
G4Log(x2)-x1*
G4Log(x1));
469 throw G4HadronicException(__FILE__, __LINE__,
"Unknown interpolation scheme in G4ParticleHPVector::Integrate");
522 result = weighted / running;