28 #include <queso/Environment.h> 
   29 #include <queso/Map.h> 
   31 #include <queso/Defines.h> 
   94   virtual unsigned int            sizeLocal           () 
const = 0;
 
  103   virtual void                    cwSet               (
double value) = 0;
 
  116   virtual void                    sort                () = 0;
 
  120   virtual void                    print               (std::ostream& os) 
const = 0;
 
  144 #ifdef QUESO_CLASSES_INSTANTIATE_NEW_MAPS 
  163 #endif // UQ_VECTOR_H 
unsigned int numOfProcsForStorage() const 
 
virtual void cwSet(double value)=0
Component-wise set the values of the vector to value. 
 
virtual void cwInvert()=0
Component-wise invert the values of the vector. 
 
const Map & m_map
Mapping variable. 
 
bool getPrintHorizontally() const 
Checks if vector is printed horizontally. 
 
void setPrintHorizontally(bool value) const 
Determines whether vector should be printed horizontally. 
 
virtual unsigned int sizeLocal() const =0
Returns the local size of the vector. 
 
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
 
A class for partitioning vectors and matrices. 
 
bool m_printScientific
Flag for either or not print this matrix in scientific notation. 
 
virtual void sort()=0
Sort the elements. 
 
Vector & operator/=(double a)
Operator for division of the vector by a scalar. 
 
Vector & operator-=(const Vector &rhs)
Operator for subtraction (element-wise) of two vectors. 
 
bool getPrintScientific() const 
Checks if the vector should be printed in Scientific Notation. 
 
Vector & operator=(const Vector &rhs)
Operator for copying a vector. 
 
const BaseEnvironment & m_env
Environment variable. 
 
Vector & operator+=(const Vector &rhs)
Operator for addition (element-wise) of two vectors. 
 
Vector & operator*=(double a)
Operator for multiplication of the vector by a scalar. 
 
virtual void copy(const Vector &src)
Copies vector src to this matrix. 
 
virtual void cwSetGaussian(double mean, double stdDev)=0
Component-wise set the values of the vector to a random number from a Gaussian distribution. 
 
virtual ~Vector()
Virtual Destructor. 
 
void setPrintScientific(bool value) const 
Determines whether vector should be printed in Scientific Notation. 
 
const BaseEnvironment & env() const 
 
virtual void print(std::ostream &os) const =0
Print this vector. 
 
virtual unsigned int sizeGlobal() const =0
Returns the global size of the vector. 
 
bool m_printHorizontally
Flag for either or not print this matrix horizontally. 
 
Vector()
Default Constructor. 
 
Class for vector operations (virtual).