Changeset 3662 in Sophya for trunk/Cosmo/SimLSS/pkspectrum.cc
- Timestamp:
- Oct 23, 2009, 10:29:14 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Cosmo/SimLSS/pkspectrum.cc
r3381 r3662 545 545 // pour x<0.01 |DL(x)-G(X)^2|<2.0e-13 546 546 if(typfilter_ == GAUSSIAN) 547 if(x<0.01) return 1.-x2*(1.-x2/2.); else return exp(-x2);547 {if(x<0.01) return 1.-x2*(1.-x2/2.); else return exp(-x2);} 548 548 549 549 // Filtre top-hat T(x) = 3*(sin(x)-x*cos(x))/x^3
Note:
See TracChangeset
for help on using the changeset viewer.