24 #ifndef COM_DAFER45_TBTK_DUAL_INDEX
25 #define COM_DAFER45_TBTK_DUAL_INDEX
34 class DualIndex :
public Index,
public std::vector<double>{
39 const std::vector<double> &continuousIndex
51 inline DualIndex::DualIndex(
53 const std::vector<double> &continuousIndex
57 std::vector<double>(continuousIndex)
60 index.getSize() == continuousIndex.size(),
61 "DualIndex::DualIndex()",
62 "Incompatible index sizes.",
63 "'index' and 'continuousIndex' must have the same number of"
68 inline DualIndex::~DualIndex(){