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>
45 template <
class V,
class M>
62 void setOneDTable(
unsigned int rowId,
const std::vector<double>& values);
65 const std::vector<double>&
oneDTable (
unsigned int rowId)
const;
72 void print (std::ostream& os)
const;
83 #endif // UQ_ARRAY_OF_ONE_D_TABLES_H
DistArray< std::vector< double > * > m_oneDTables
const std::vector< double > & oneDTable(unsigned int rowId) const
Returns the array located at position rowId of the one-dimensional table.
const BaseEnvironment & m_env
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.
~ArrayOfOneDTables()
Destructor.
const VectorSpace< V, M > & m_rowSpace
void setOneDTable(unsigned int rowId, const std::vector< double > &values)
Sets the one-dimensional table.
A class for partitioning vectors and matrices.
Class to accommodate arrays of one-dimensional tables.
A class representing a vector space.
void print(std::ostream &os) const
Prints the values in this array of tables.