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()
Default constructor.
virtual void copy(const Matrix &src)
Copies matrix src to this matrix.
void setInDebugMode(bool value) const
Determines whether QUESO will run through this class in debug mode.
unsigned int numOfProcsForStorage() const
void setPrintHorizontally(bool value) const
Determines whether the matrix should be printed horizontally.
int worldRank() const
Returns the process world rank.
const BaseEnvironment & env() const
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Matrix & operator-=(const Matrix &rhs)
Operator for subtraction (element-wise) of two matrices.
const MpiComm & Comm() const
Access function for MpiComm communicator.
bool m_inDebugMode
Flag for either or not QUESO is in debug mode.
virtual ~Matrix()
Virtual Destructor.
#define UQ_FATAL_TEST_MACRO(test, givenRank, where, what)
const Map & m_map
Mapping variable.
bool getInDebugMode() const
Checks if QUESO will run through this class in debug mode.
bool m_printHorizontally
Flag for either or not print this matrix.
This class sets up the environment underlying the use of the QUESO library by an executable.
const int UQ_INVALID_INTERNAL_STATE_RC
Matrix & operator+=(const Matrix &rhs)
Operator for addition (element-wise) of two matrices.
Matrix & operator=(const Matrix &rhs)
Operator for copying a matrix.
The QUESO MPI Communicator Class.
Class for matrix operations (virtual).
Matrix & operator*=(double a)
Operator for multiplication of the matrix by a scalar.
A class for partitioning vectors and matrices.
#define RawValue_MPI_COMM_SELF
const BaseEnvironment & m_env
QUESO environment variable.
int NumProc() const
Returns total number of processes.
bool getPrintHorizontally() const
Checks if matrix will be is printed horizontally.