25 #include <queso/Matrix.h>
26 #include <queso/Defines.h>
38 "Matrix::constructor(), default",
39 "should not be used by user");
47 m_printHorizontally(true),
60 "Matrix::constructor(), copy",
61 "code should not execute through here");
75 "Matrix::operator=()",
76 "code should not execute through here");
86 "Matrix::operator*=()",
87 "code should not execute through here");
88 double tmpA = a; tmpA += 1.;
98 "Matrix::operator+=()",
99 "code should not execute through here");
109 "Matrix::operator-=()",
110 "code should not execute through here");
Matrix & operator=(const Matrix &rhs)
Operator for copying a matrix.
int NumProc() const
Returns total number of processes.
bool getPrintHorizontally() const
Checks if matrix will be is printed horizontally.
void setPrintHorizontally(bool value) const
Determines whether the matrix should be printed horizontally.
int worldRank() const
Returns the process world rank.
virtual ~Matrix()
Virtual Destructor.
Matrix()
Default constructor.
unsigned int numOfProcsForStorage() const
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
A class for partitioning vectors and matrices.
Matrix & operator-=(const Matrix &rhs)
Operator for subtraction (element-wise) of two matrices.
void setInDebugMode(bool value) const
Determines whether QUESO will run through this class in debug mode.
#define UQ_FATAL_TEST_MACRO(test, givenRank, where, what)
const Map & m_map
Mapping variable.
bool m_inDebugMode
Flag for either or not QUESO is in debug mode.
bool getInDebugMode() const
Checks if QUESO will run through this class in debug mode.
The QUESO MPI Communicator Class.
Class for matrix operations (virtual).
bool m_printHorizontally
Flag for either or not print this matrix.
Matrix & operator*=(double a)
Operator for multiplication of the matrix by a scalar.
Matrix & operator+=(const Matrix &rhs)
Operator for addition (element-wise) of two matrices.
const int UQ_INVALID_INTERNAL_STATE_RC
const MpiComm & Comm() const
Access function for MpiComm communicator.
#define RawValue_MPI_COMM_SELF
virtual void copy(const Matrix &src)
Copies matrix src to this matrix.
This class sets up the environment underlying the use of the QUESO library by an executable.
const BaseEnvironment & m_env
QUESO environment variable.
const BaseEnvironment & env() const