This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: proposal gsl_histogram_set_ranges_uniform
- To: Achim Gaedke <achim at zpr dot uni-koeln dot de>
- Subject: Re: proposal gsl_histogram_set_ranges_uniform
- From: Brian Gough <bjg at network-theory dot co dot uk>
- Date: Mon, 25 Jun 2001 15:39:21 +0100 (BST)
- Cc: gsl discussion list <gsl-discuss at sources dot redhat dot com>
- References: <Pine.GSO.3.95.1010625112328.5900A-100000@Sparcy17>
- Reply-To: gsl-discuss at sources dot redhat dot com
Achim Gaedke writes:
> Sometimes it is overkill to delete an old histogram and allocate a new.
> But for convenience this function may be added to gsl_histogram.
>
> int gsl_histogram_set_ranges_uniform(gsl_histogram* h, double xmin,
> double xmax )
You're right, we need to have some 'init' type functions for
histograms to change ranges without reallocating. I'll add your
function and a corresponding one for non-uniform ranges (also 2d).
> PS: gsl_ran_gaussian_tail works...
Thanks. I've checked it into CVS now.