Changeset 7971 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 09/26/06 11:45:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MMath.h
r7899 r7971 52 52 TArrayD LeastSqFitPowerLaw(Int_t n, Double_t *x, Double_t *y); 53 53 54 inline Int_t ModF(Double_t dbl, Double_t &frac) { Double_t rc; frac = modf(dbl, &rc); return TMath::Nint(rc); } 55 54 56 inline Double_t Sgn(Double_t d) { return d<0 ? -1 : 1; } 55 57 }
Note:
See TracChangeset
for help on using the changeset viewer.