hda has asked for the wisdom of the Perl Monks concerning the following question:
my $fo = gsl_fopen('myfile', 'w'); # sets the output file my $fi = gsl_fopen( $input_stream ); # here is where I can't understan +d how it works my $h = gsl_histogram_alloc (5); gsl_histogram_fscanf($fi, $h); my $range = [ 1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0 ]; gsl_histogram_set_ranges($h, $range, 4); gsl_histogram_fprintf($fo, $h, "%g", "%g"); gsl_fclose($fi); gsl_fclose($fo);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How does Math::GSL accept data?
by Anonymous Monk on May 18, 2009 at 16:35 UTC | |
by hda (Chaplain) on May 21, 2009 at 17:22 UTC | |
by Anonymous Monk on Aug 06, 2009 at 19:33 UTC | |
|
Re: How does Math::GSL accept data?
by etj (Priest) on Jun 03, 2022 at 21:52 UTC | |
by Anonymous Monk on Jun 07, 2022 at 22:09 UTC | |
by Anonymous Monk on Jun 07, 2022 at 22:15 UTC |