Hi, I wrote a macro both in g++ and ROOT (pls. see attached) to calculate a single value of a Daubechies building block/wavelet. When I do it in g++, $ g++ daubechies.C -o daub $ ./daub then input r = 1.125 (actually works well for a certain set of inputs) the results are: Phi( 1.125 ) = 0.620513 . Psi( 1.125 ) = -0.208133 . However, in ROOT 2.22/10, $ root daub_ROOT.C then input 1.125 Phi( 1.125 ) = -1.53122e+06 . Psi( 1.125 ) = 2.28002e+06 . (int)0 root [1] Could somebody tell me the reason for the difference? Thanks, ALLISTER LEVI C. SANCHEZ DEPARTMENT OF PHYSICS MSU - ILIGAN INSTITUTE OF TECHNOLOGY 9200 ILIGAN CITY PHILIPPINES Today's Line: Forgiveness! Oh what a way to solve memory leaks!
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:43 MET