25 #ifndef UQ_INTERPOLATION_SURROGATE_DATA_SET_H
26 #define UQ_INTERPOLATION_SURROGATE_DATA_SET_H
28 #include <queso/InterpolationSurrogateData.h>
40 template<
class V = GslVector,
class M = GslMatrix>
46 const std::vector<unsigned int>& n_points,
47 unsigned int n_datasets );
63 std::vector<InterpolationSurrogateData<V,M>*>
m_datasets;
67 template<
class V,
class M>
71 queso_require_less( s, m_datasets.size() );
72 queso_assert( m_datasets[s] );
74 return *(m_datasets[s]);
77 template<
class V,
class M>
81 queso_require_less( s, m_datasets.size() );
82 queso_assert( m_datasets[s] );
84 return *(m_datasets[s]);
89 #endif // UQ_INTERPOLATION_SURROGATE_DATA_SET_H
unsigned int size() const
Container class for multiple, consistent InterpolationSurrogateData objects.
const InterpolationSurrogateData< V, M > & get_dataset(unsigned int s) const
~InterpolationSurrogateDataSet()
Class representing a subset of a vector space shaped like a hypercube.
InterpolationSurrogateDataSet()
std::vector< InterpolationSurrogateData< V, M > * > m_datasets
Data structure to hold all data sets.