Changeset 19128
- Timestamp:
- 08/03/18 13:48:34 (6 years ago)
- Location:
- trunk/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mbase/MSpline3.cc
r9518 r19128 289 289 } 290 290 */ 291 292 void MSpline3::Scale(double scale) 293 { 294 //return fY + dx*fB + dx*dx*fC + dx*dx*dx*fD; 295 296 for (int i=0; i<fNp; i++) 297 { 298 fPoly[i].B() *= scale; 299 fPoly[i].C() *= scale; 300 fPoly[i].D() *= scale; 301 fPoly[i].Y() *= scale; 302 } 303 } -
trunk/Mars/mbase/MSpline3.h
r9518 r19128 64 64 Double_t IntegralSolidAngle() const; 65 65 66 void Scale(double=1); 67 66 68 ClassDef(MSpline3, 1) // An extension of the TSpline3 67 69 };
Note:
See TracChangeset
for help on using the changeset viewer.