Definition at line 31 of file RHistUtils.hxx.
Public Types | |
using | Base_t = std::array< double, DIMENSIONS > |
Public Member Functions | |
RCoordArray ()=default | |
Default construction. | |
RCoordArray (const std::array< double, DIMENSIONS > &arr) | |
Copy-construction from a C++-style array. | |
template<class... ELEMENTS, class = typename std::enable_if<sizeof...(ELEMENTS) + 1 == DIMENSIONS>::type> | |
RCoordArray (double x, ELEMENTS...el) | |
Construction with one double per DIMENSION . | |
RCoordArray (double(&arr)[DIMENSIONS]) | |
Construction from a C-style array. | |
template<class T , class... ELEMENTS, class = typename std::enable_if<sizeof...(ELEMENTS) + 1 != DIMENSIONS>::type> | |
RCoordArray (T, ELEMENTS...) | |
Fallback constructor, invoked if the one above fails because of the wrong number of arguments / coordinates. | |
#include <ROOT/RHistUtils.hxx>
using ROOT::Experimental::Hist::RCoordArray< DIMENSIONS >::Base_t = std::array<double, DIMENSIONS> |
Definition at line 32 of file RHistUtils.hxx.
|
default |
Default construction.
|
inline |
Construction with one double
per DIMENSION
.
Definition at line 39 of file RHistUtils.hxx.
|
inline |
Fallback constructor, invoked if the one above fails because of the wrong number of arguments / coordinates.
Definition at line 44 of file RHistUtils.hxx.
|
inline |
Construction from a C-style array.
Definition at line 49 of file RHistUtils.hxx.
|
inline |
Copy-construction from a C++-style array.
(No need for a move-constructor, it isn't any better for doubles)
Definition at line 53 of file RHistUtils.hxx.