25 #include <queso/VectorSpace.h>
26 #include <queso/GslMatrix.h>
34 return new Map(m_dimGlobal,0,m_env.selfComm());
55 return new GslMatrix(m_env,*m_map,this->dimGlobal());
62 return new GslMatrix(m_env,*m_map,diagValue);
A class for partitioning vectors and matrices.
M * newMatrix() const
Creates an empty matrix of size given by Map& map. See template specialization.
Class for matrix operations using GSL library.
Map * newMap()
Creates a new map. See template specialization.
V * newVector() const
Creates an empty vector of size given by Map& map. See template specialization.
Class for vector operations using GSL library.
M * newDiagMatrix(const V &v) const
Creates a diagonal matrix with the elements and size of vector v.