npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::ReplacementBlock< MaxDim, MaxReplace > Struct Template Reference

#include <AbsLossCalculator.hh>

Public Types

typedef CPP11_array< unsigned, MaxDim > Index
 

Public Member Functions

void reset (const unsigned *index, const unsigned sz)
 

Public Attributes

Index idx
 
unsigned dim
 
PointReplacement< MaxDim > replacement [MaxReplace]
 
unsigned nReplacements
 

Detailed Description

template<unsigned MaxDim, unsigned MaxReplace>
struct npstat::ReplacementBlock< MaxDim, MaxReplace >

Class for representing the information about multiple potential point replacements in nonlinear regression algorithms on rectangular grids

Member Function Documentation

◆ reset()

template<unsigned MaxDim, unsigned MaxReplace>
void npstat::ReplacementBlock< MaxDim, MaxReplace >::reset ( const unsigned *  index,
const unsigned  sz 
)
inline

Reset this object to a meanigful state with zero suggested replacements

Member Data Documentation

◆ dim

template<unsigned MaxDim, unsigned MaxReplace>
unsigned npstat::ReplacementBlock< MaxDim, MaxReplace >::dim

Actual dimensionality of the point index

◆ idx

template<unsigned MaxDim, unsigned MaxReplace>
Index npstat::ReplacementBlock< MaxDim, MaxReplace >::idx

Index of the point for which the replacements are suggested

◆ nReplacements

template<unsigned MaxDim, unsigned MaxReplace>
unsigned npstat::ReplacementBlock< MaxDim, MaxReplace >::nReplacements

Actual number of suggested replacements

◆ replacement

template<unsigned MaxDim, unsigned MaxReplace>
PointReplacement<MaxDim> npstat::ReplacementBlock< MaxDim, MaxReplace >::replacement[MaxReplace]

Collection of suggested replacements which result in the corresponding loss improvement


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