25 #ifndef UQ_ARRAY_OF_ONE_D_GRIDS_H 
   26 #define UQ_ARRAY_OF_ONE_D_GRIDS_H 
   28 #include <queso/OneDGrid.h> 
   29 #include <queso/VectorSpace.h> 
   46 template<
class V = GslVector, 
class M = GslMatrix>
 
   65   const V&  
sizes          () 
const;
 
   81                             const V& minPositionsVec,
 
   82                             const V& maxPositionsVec);
 
   93   void      print          (std::ostream& os) 
const;
 
  117 #endif // UQ_ARRAY_OF_ONE_D_GRIDS_H 
friend std::ostream & operator<<(std::ostream &os, const ArrayOfOneDGrids< V, M > &obj)
 
Class to accommodate arrays of one-dimensional grid. 
 
const V & maxPositions() const 
Returns an array with the maximum position of each grid. 
 
A class for partitioning vectors and matrices. 
 
void print(std::ostream &os) const 
Prints the values of the array of grids (points). 
 
const BaseEnvironment & m_env
 
const VectorSpace< V, M > & m_rowSpace
 
ArrayOfOneDGrids(const char *prefix, const VectorSpace< V, M > &rowSpace)
Default constructor. 
 
DistArray< BaseOneDGrid< double > * > m_oneDGrids
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
const VectorSpace< V, M > & rowSpace() const 
Returns the (vector) space to which the row belongs to. 
 
const BaseOneDGrid< double > & grid(unsigned int rowId) const 
Returns the grid stored in the rowId-th position of the array of grids. 
 
const V & minPositions() const 
Returns an array with the minimum position of each grid. 
 
Base class for accommodating one-dimensional grids. 
 
void setUniformGrids(const V &sizesVec, const V &minPositionsVec, const V &maxPositionsVec)
Sets an array of uniform grids. 
 
~ArrayOfOneDGrids()
Destructor. 
 
A class representing a vector space. 
 
const V & sizes() const 
Returns an array with the sizes of the grids.