"Find the upper and lower range limits of the i-th
:indexgrid:aref
:documentation
"Return the contents of the i-th, j-th bin of the 2D histogram. If either index lies outside the valid range of index for the histogram then an error (input-domain) is signalled.")
(defgenericrange(histogrami)
(:documentation
"Find the upper and lower range limits of the i-th
bin of the histogram. If the index i is valid then the
bin of the histogram. If the index i is valid then the
corresponding range limits are stored in lower and upper.
corresponding range limits are stored in lower and upper.
The lower limit is inclusive (i.e. events with this coordinate are
The lower limit is inclusive (i.e. events with this coordinate are
...
@@ -70,20 +85,82 @@
...
@@ -70,20 +85,82 @@
neighboring higher bin, if it exists).
neighboring higher bin, if it exists).
If i lies outside the valid range of indices for
If i lies outside the valid range of indices for
the histogram, then the error input-domain is signalled.")
the histogram, then the error input-domain is signalled.")
(:method((histogramhistogram2d)i)
(list
(funcall
(defmfunnil(histogrami)
"gsl_histogram2d_get_xrange"
(((mpointerhistogram):pointer)(i:sizet)))
histogram)
(funcall
(defmfunnil(histogrami)
"gsl_histogram2d_get_yrange"
(((mpointerhistogram):pointer)(i:sizet)))
histogram))))
(map-name'range"gsl_histogram2d_get_xrange")
(map-name'range"gsl_histogram2d_get_yrange")
(export'range)
(defmfunmax-range(histogram)
(defmfunrange((histogramhistogram)i)
"gsl_histogram_get_range"
(((mpointerhistogram):pointer)(i:sizet)
(lower(:pointer:double))(upper(:pointer:double)))
:definition:method)
(defgenericmax-range(histogram)
(:documentation"The maximum upper range limit(s) of the histogram.")
(:method((histogramhistogram2d))
(list
(funcall
(defmfunnil(histogram)
"gsl_histogram2d_xmax"
(((mpointerhistogram):pointer))
:c-return:double)
histogram)
(funcall
(defmfunnil(histogram)
"gsl_histogram2d_ymax"
(((mpointerhistogram):pointer))
:c-return:double)
histogram))))
(map-name'max-range"gsl_histogram2d_xmax")
(map-name'max-range"gsl_histogram2d_ymax")
(export'max-range)
(defmfunmax-range((histogramhistogram))
"gsl_histogram_max"
"gsl_histogram_max"
(((mpointerhistogram):pointer))
(((mpointerhistogram):pointer))
:c-return:double
:c-return:double
:documentation; FDL
:definition:method)
"The maximum upper range limit of the histogram.")
(defgenericmin-range(histogram)
(:documentation"The minimum lower range limit(s) of the histogram.")
(:method((histogramhistogram2d))
(list
(funcall
(defmfunnil(histogram)
"gsl_histogram2d_xmin"
(((mpointerhistogram):pointer))
:c-return:double)
histogram)
(funcall
(defmfunnil(histogram)
"gsl_histogram2d_ymin"
(((mpointerhistogram):pointer))
:c-return:double)
histogram))))
(map-name'min-range"gsl_histogram2d_xmin")
(map-name'min-range"gsl_histogram2d_ymin")
(export'min-range)
(defmfunmin-range(histogram)
(defmfunmin-range((histogramhistogram))
"gsl_histogram_min"
"gsl_histogram_min"
(((mpointerhistogram):pointer))
(((mpointerhistogram):pointer))
:c-return:double
:c-return:double
:documentation; FDL
:definition:method)
"The minimum lower range limit of the histogram.")