npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::AbsArrayProjector< Input, Result > Struct Template Referenceabstract

#include <AbsArrayProjector.hh>

Public Member Functions

virtual void clear ()=0
 
virtual void process (const unsigned *index, unsigned indexLen, unsigned long linearIndex, const Input &value)=0
 
virtual Result result ()=0
 

Detailed Description

template<typename Input, typename Result>
struct npstat::AbsArrayProjector< Input, Result >

Interface class for piecemeal processing of array data and coordinates. Intended for making multidimensional array projections.

Member Function Documentation

◆ clear()

template<typename Input , typename Result >
virtual void npstat::AbsArrayProjector< Input, Result >::clear ( )
pure virtual

◆ process()

template<typename Input , typename Result >
virtual void npstat::AbsArrayProjector< Input, Result >::process ( const unsigned *  index,
unsigned  indexLen,
unsigned long  linearIndex,
const Input &  value 
)
pure virtual

◆ result()

template<typename Input , typename Result >
virtual Result npstat::AbsArrayProjector< Input, Result >::result ( )
pure virtual

Return the result at the end of array processing

Implemented in npstat::QuantileRegressionOnHisto< Numeric >, and npstat::LogisticRegressionOnGrid< Numeric, StackLen, StackDim >.


The documentation for this struct was generated from the following file: