Last change
on this file since 13 was
13,
checked in by daniel, 20 years ago
|
* empty log message *
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
434 bytes
|
Line | |
---|
1 | double histogram::get_intensity( const size_t& n ) const |
---|
2 | { |
---|
3 | return gsl_histogram_get( h_, n ); |
---|
4 | } |
---|
5 | |
---|
6 | |
---|
7 | void histogram::get_range( const size_t& n, double& min, double& max ) const |
---|
8 | { |
---|
9 | gsl_histogram_get_range( h_, n, &min, &max ); |
---|
10 | } |
---|
11 | |
---|
12 | |
---|
13 | size_t histogram::get_bins() const |
---|
14 | { |
---|
15 | return gsl_histogram_bins( h_ ); |
---|
16 | } |
---|
17 | |
---|
18 | |
---|
19 | double histogram::get_probability( const double& r ) |
---|
20 | { |
---|
21 | assert( p_ != NULL ); |
---|
22 | return gsl_histogram_pdf_sample( p_, r ); |
---|
23 | } |
---|
24 | |
---|
Note: See
TracBrowser
for help on using the repository browser.