SSAGES  0.8.3
Software Suite for Advanced General Ensemble Simulations
Public Member Functions | Public Attributes | List of all members
SSAGES::Map Struct Reference

Map for histogram and coefficients. More...

#include <Basis.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 41 of file Basis.h.

Constructor & Destructor Documentation

◆ Map()

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 54 of file Basis.h.

55  :
56  value(value), map(map)
57  {}
double value
The coefficient value.
Definition: Basis.h:44
std::vector< int > map
The mapping in an array of integers.
Definition: Basis.h:47

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