44 #ifndef EPETRA_INTSERIALDENSEVECTOR_H
45 #define EPETRA_INTSERIALDENSEVECTOR_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
168 using Epetra_IntSerialDenseMatrix::operator();
238 virtual void Print(std::ostream& os)
const;
273 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
274 if(Index >=
M_ || Index < 0)
282 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
283 if(Index >=
M_ || Index < 0)
291 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
292 if(Index >=
M_ || Index < 0)
300 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
301 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.