Ignore:
Timestamp:
06/18/07 15:42:32 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MMath.cc

    r8578 r8581  
    11/* ======================================================================== *\
    2 ! $Name: not supported by cvs2svn $:$Id: MMath.cc,v 1.34 2007-06-18 14:29:32 tbretz Exp $
     2! $Name: not supported by cvs2svn $:$Id: MMath.cc,v 1.35 2007-06-18 14:42:32 tbretz Exp $
    33! --------------------------------------------------------------------------
    44!
     
    199199        arr[i] = TMath::Abs(a[i]-med);
    200200
     201    //return TMath::Median(n, arr)/0.67449896936; //MMath::GaussProb(x)=0.5
     202
    201203    // Define where to divide (floor because the highest possible is n-1)
    202204    const Int_t div = TMath::FloorNint(n*prob);
     
    691693        const Double_t sqrtd = TMath::Sqrt(D);
    692694
    693         const Double_t A = TMah::Sign(1., R)*MMath::Sqrt3(TMath::Abs(R)+sqrtd);
     695        const Double_t A = TMath::Sign(1., R)*MMath::Sqrt3(TMath::Abs(R)+sqrtd);
    694696
    695697        // The case A==0 cannot happen. This would imply D==0
Note: See TracChangeset for help on using the changeset viewer.