Re: [ROOT] TF2::Npy()

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jul 14 2003 - 14:58:25 MEST


Hi Gernot

I have modified the functions SetNpx, SetNpy, SetNpz
 -adding warnings in case of illegal values
 -using the maximum possible value if the specified value is greater
 -adding comments explaining the meaning of fNpx,y,z

I have also added comments in the GetRandom functions to point
to the setNpx,y,z functions.

Thanks for thsi remark.

Rene Brun

Gernot Maier wrote:
> 
> Hej,
> 
> is there any reason why the maximum number of points
> for the y-axis in twodimensional functions is 1000, but
> for the x-axis 100000?
> The same is valid for the z-axis in threedimensional functions.
> This can have large effects in the calculation of random
> numbers from a twodimensional function.
> 
> Is it possible to get a warning if the maximum number of points
> used in TF2::SetNpy() is larger than the allowed one?
> 
> Currently the number of points is set to the default value (100)
> if a number larger than 1000 is used. Maybe it makes more sense
> to use in this case the maximum allowed number.
> 
> I'm using Version 3.05/05 on SuSe Linux 8.0.
> 
> thank you,
> 
> Gernot
> 
> -----
> Gernot Maier                    KASCADE Collaboration
> Institut fuer Kernphysik        Tel. +49 (0) 7247 82-4174
> Forschungszentrum Karlsruhe     gernot.maier@ik.fzk.de



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET