![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Structure holding the result of binning values for further computation. More...
#include <shamalgs/include/shamalgs/details/numeric/numeric.hpp>
Collaboration diagram for shamalgs::numeric::BinnedCompute< T >:Public Attributes | |
| sham::DeviceBuffer< T > | valid_values |
| Values that are within the bin range, sorted by bin. | |
| sham::DeviceBuffer< u32 > | offsets_bins |
| Offsets for each bin (size nbins+1). | |
Structure holding the result of binning values for further computation.
This struct contains the valid values that fall within the specified bins and the offsets for each bin, allowing efficient per-bin computation.
| T | The data type of the values. |
Definition at line 216 of file numeric.hpp.
| sham::DeviceBuffer<u32> shamalgs::numeric::BinnedCompute< T >::offsets_bins |
Offsets for each bin (size nbins+1).
Definition at line 219 of file numeric.hpp.
| sham::DeviceBuffer<T> shamalgs::numeric::BinnedCompute< T >::valid_values |
Values that are within the bin range, sorted by bin.
Definition at line 218 of file numeric.hpp.