44#ifndef EPETRA_INTSERIALDENSEVECTOR_H
45#define EPETRA_INTSERIALDENSEVECTOR_H
160 using Epetra_IntSerialDenseMatrix::operator();
231 virtual void Print(std::ostream& os)
const;
265#ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
266 if(Index >=
M_ || Index < 0)
274#ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
275 if(Index >=
M_ || Index < 0)
283#ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
284 if(Index >=
M_ || Index < 0)
292#ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
293 if(Index >=
M_ || Index < 0)
Epetra_IntSerialDenseMatrix: A class for constructing and using general dense integer matrices.
int Shape(int NumRows, int NumCols)
Set dimensions of a Epetra_IntSerialDenseMatrix object; init values to zero.
int MakeViewOf(const Epetra_IntSerialDenseMatrix &Source)
Reset an existing IntSerialDenseMatrix to point to another Matrix.
int Reshape(int NumRows, int NumCols)
Reshape a Epetra_IntSerialDenseMatrix object.
int * operator[](int ColIndex)
Column access function.
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
Epetra_IntSerialDenseMatrix & operator=(const Epetra_IntSerialDenseMatrix &Source)
Copy from one matrix to another.
int Random()
Set matrix values to random numbers.
int & operator()(int RowIndex, int ColIndex)
Element access function.
Epetra_IntSerialDenseVector: A class for constructing and using dense vectors.
int & operator[](int Index)
Element access function.
int Resize(int Length_in)
Resize a Epetra_IntSerialDenseVector object.
int Size(int Length_in)
Set length of a Epetra_IntSerialDenseVector object; init values to zero.
Epetra_DataAccess CV() const
Returns the data access mode of the this vector.
int & operator()(int Index)
Element access function.
const int * Values() const
Returns const pointer to the values in vector.
int Length() const
Returns length of vector.
int * Values()
Returns pointer to the values in vector.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
std::string toString(const int &x) const