template<typename Num1, unsigned Len1, unsigned Dim1, typename Num2, unsigned Len2, unsigned Dim2>
class npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >
Definition at line 44 of file rescanArray.h.
template<typename Num1 , unsigned Len1, unsigned Dim1, typename Num2 , unsigned Len2, unsigned Dim2>
npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::ArrayMapper |
( |
const ArrayND< Num1, Len1, Dim1 > & |
from, |
|
|
const ArrayND< Num2, Len2, Dim2 > & |
to, |
|
|
const unsigned |
interpolationDegree |
|
) |
| |
|
inline |
Definition at line 47 of file rescanArray.h.
References npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::dim_, mps_fire::i, npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::mappers_, npstat::ArrayND< Numeric, StackLen, StackDim >::rank(), and npstat::ArrayND< Numeric, StackLen, StackDim >::span().
53 ideg_(interpolationDegree)
60 mappers_.push_back(LinearMapper1d(-0.5, -0.5,
const ArrayND< Num1, Len1, Dim1 > & from_
unsigned span(unsigned dim) const
std::vector< LinearMapper1d > mappers_
std::vector< double > mapped_
template<typename Num1 , unsigned Len1, unsigned Dim1, typename Num2 , unsigned Len2, unsigned Dim2>
Definition at line 66 of file rescanArray.h.
References npstat::ArrayND< Numeric, StackLen, StackDim >::closest(), npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::dim_, npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::from_, mps_fire::i, npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::ideg_, npstat::ArrayND< Numeric, StackLen, StackDim >::interpolate1(), npstat::ArrayND< Numeric, StackLen, StackDim >::interpolate3(), funct::m, npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::mapped_, npstat::Private::ArrayMapper< Num1, Len1, Dim1, Num2, Len2, Dim2 >::mappers_, and mitigatedMETSequence_cff::U.
const ArrayND< Num1, Len1, Dim1 > & from_
Numeric & closest(const double *x, unsigned xDim)
Numeric interpolate1(const double *x, unsigned xDim) const
std::vector< LinearMapper1d > mappers_
std::vector< double > mapped_
Numeric interpolate3(const double *x, unsigned xDim) const