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