3 #include "CLHEP/Random/RandGauss.h"
10 theSize(aMatrix.num_row()),
12 theTriangle(theSize,theSize,0) {
28 theSize(aMatrix.num_row()),
30 theTriangle(theSize,theSize,0) {
41 for (
int i1=0; i1<
theSize; i1++ ) {
42 if ( fabs(aMatrix[i1][i1])<FLT_MIN )
continue;
44 for (
int i2=i1; i2<
theSize; i2++ ) {
45 if ( fabs(aMatrix[i2][i2])<FLT_MIN )
continue;
47 double sum = aMatrix[i2][i1];
48 for (
int i3=i1-1; i3>=0; i3-- ) {
49 if ( fabs(aMatrix[i3][i3])<FLT_MIN )
continue;
78 vRandom[
i] = CLHEP::RandGauss::shoot();
AlgebraicMatrix theTriangle
void initialise(const AlgebraicSymMatrix &)
CLHEP::HepVector AlgebraicVector
CLHEP::HepSymMatrix AlgebraicSymMatrix
RandomMultiGauss(const AlgebraicVector &aVector, const AlgebraicSymMatrix &aMatrix)