25 #ifndef UQ_ARRAY_OF_ONE_D_TABLES_H
26 #define UQ_ARRAY_OF_ONE_D_TABLES_H
28 #include <queso/Environment.h>
29 #include <queso/VectorSpace.h>
48 template<
class V = GslVector,
class M = GslMatrix>
65 void setOneDTable(
unsigned int rowId,
const std::vector<double>& values);
68 const std::vector<double>&
oneDTable (
unsigned int rowId)
const;
75 void print (std::ostream& os)
const;
86 #endif // UQ_ARRAY_OF_ONE_D_TABLES_H
A class representing a vector space.
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Class to accommodate arrays of one-dimensional tables.
void setOneDTable(unsigned int rowId, const std::vector< double > &values)
Sets the one-dimensional table.
const BaseEnvironment & m_env
const VectorSpace< V, M > & m_rowSpace
const std::vector< double > & oneDTable(unsigned int rowId) const
Returns the array located at position rowId of the one-dimensional table.
A class for partitioning vectors and matrices.
DistArray< std::vector< double > * > m_oneDTables
~ArrayOfOneDTables()
Destructor.
ArrayOfOneDTables(const char *prefix, const VectorSpace< V, M > &rowSpace)
Default constructor.
void print(std::ostream &os) const
Prints the values in this array of tables.