SSAGES  0.1
A MetaDynamics Package
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Public Member Functions | Public Attributes | List of all members
SSAGES::Map Struct Reference

Map for histogram and coefficients. More...

#include <BasisFunc.h>

Public Member Functions

 Map (const std::vector< int > &map, double value)
 Constructor. More...
 

Public Attributes

double value
 The coefficient value.
 
std::vector< int > map
 The mapping in an array of integers.
 

Detailed Description

Map for histogram and coefficients.

A clean mapping structure for both the histogram and the coefficients. All vectors are written as 1D with a row major mapping. In order to make iterating easier, the mapping of the 1D vectors are written here.

Definition at line 37 of file BasisFunc.h.

Constructor & Destructor Documentation

SSAGES::Map::Map ( const std::vector< int > &  map,
double  value 
)
inline

Constructor.

Parameters
mapThe mapping in an array of integers.
valueThe coefficient value.

Definition at line 50 of file BasisFunc.h.

51  :
52  value(value), map(map)
53  {}
double value
The coefficient value.
Definition: BasisFunc.h:40
std::vector< int > map
The mapping in an array of integers.
Definition: BasisFunc.h:43

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