Mantid
Loading...
Searching...
No Matches
MDBin.hxx
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
8#include <cstddef>
9
10namespace Mantid {
11namespace DataObjects {
12
13//----------------------------------------------------------------------------------------------
17TMDE(MDBin)::MDBin() : m_signal(0), m_errorSquared(0) {
18 for (size_t d = 0; d < nd; ++d)
19 m_min[d] = -std::numeric_limits<coord_t>::max();
20 for (size_t d = 0; d < nd; ++d)
21 m_max[d] = +std::numeric_limits<coord_t>::max();
22}
23
24} // namespace DataObjects
25} // namespace Mantid
specnum_t m_min
specnum_t m_max
#define TMDE(decl)
Macro TMDE to make declaring template functions faster.
Definition MDTypes.h:52
MDBin : Class describing a single bin in a dense, Multidimensional histogram.
Definition MDBin.h:32
Helper class which provides the Collimation Length for SANS instruments.