13 mpData =
new TMatrixD( aNumberOfPatterns, aNumberOfUnits );
14 mpWeights =
new TVectorD( aNumberOfPatterns);
34 mpWeights->operator() ( aPattern ) = aValue;
40 mpData->operator() ( aPattern, aIndex ) = aValue;
50 for( UInt_t aUnitIndex = 0; aUnitIndex < this->
GetUnitsCount(); aUnitIndex++ )
54 for( UInt_t aPatternIndex = 0; aPatternIndex < this->
GetPatternsCount(); aPatternIndex++ )
56 tmp = this->
GetData( aPatternIndex, aUnitIndex );
57 fMin = (
tmp < fMin )?
tmp : fMin;
58 fMax = (
tmp > fMax )?
tmp : fMax;
61 for( UInt_t aPatternIndex = 0; aPatternIndex < this->
GetPatternsCount(); aPatternIndex++ )
63 tmp = this->
GetData( aPatternIndex, aUnitIndex );
64 tmp = (
tmp - fMin)/(fMax-fMin);
65 this->
SetData( aPatternIndex, aUnitIndex,
tmp );
81 this->
SetData(
i, j, r3.Gaus(0, 5) );
94 j = ( Int_t ) (
Random.Rndm() *
a );