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
void setOneDTable(unsigned int rowId, const std::vector< double > &values)
Sets the one-dimensional table.
void print(std::ostream &os) const
Prints the values in this array of tables.
const VectorSpace< V, M > & m_rowSpace
const BaseEnvironment & m_env
DistArray< std::vector< double > * > m_oneDTables
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
ArrayOfOneDTables(const char *prefix, const VectorSpace< V, M > &rowSpace)
Default constructor.
A class for partitioning vectors and matrices.
Class to accommodate arrays of one-dimensional tables.
const std::vector< double > & oneDTable(unsigned int rowId) const
Returns the array located at position rowId of the one-dimensional table.
A class representing a vector space.
~ArrayOfOneDTables()
Destructor.