1 #ifndef NPSTAT_MULTIVARIATEFUNCTORSCANNER_HH_ 2 #define NPSTAT_MULTIVARIATEFUNCTORSCANNER_HH_ 26 template<
class IndexMapper>
41 const std::vector<IndexMapper>& maps)
45 "In npstat::MultivariateFunctorScanner constructor: " 46 "incompatible arguments");
48 "In npstat::MultivariateFunctorScanner constructor: " 49 "functors of variable dimensionality are not supported");
54 const unsigned indexLen)
const 57 "In npstat::MultivariateFunctorScanner::operator(): " 58 "incompatible input point dimensionality");
71 mutable std::vector<double>
buf_;
76 #endif // NPSTAT_MULTIVARIATEFUNCTORSCANNER_HH_
MultivariateFunctorScanner()
double operator()(const unsigned *index, const unsigned indexLen) const
std::vector< double > buf_
T x() const
Cartesian x coordinate.
MultivariateFunctorScanner(const AbsMultivariateFunctor &fcn, const std::vector< IndexMapper > &maps)
Exceptions for the npstat namespace.
const AbsMultivariateFunctor & fcn_
virtual unsigned maxDim() const
void fcn(int &, double *, double &, double *, int)
Interface definition for multidimensional functors.
const std::vector< IndexMapper > & mapping_