44 #ifndef EPETRA_LONGLONGSERIALDENSEVECTOR_H
45 #define EPETRA_LONGLONGSERIALDENSEVECTOR_H
51 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
163 using Epetra_LongLongSerialDenseMatrix::operator();
217 const long long*
Values()
const {
return(A_);};
233 virtual void Print(std::ostream& os)
const;
268 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
269 if(Index >=
M_ || Index < 0)
277 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
278 if(Index >=
M_ || Index < 0)
286 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
287 if(Index >=
M_ || Index < 0)
295 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
296 if(Index >=
M_ || Index < 0)
304 #endif // EPETRA_NO_64BIT_GLOBAL_INDICES
long long & operator[](int Index)
Element access function.
int MakeViewOf(const Epetra_LongLongSerialDenseMatrix &Source)
Reset an existing LongLongSerialDenseMatrix to point to another Matrix.
Epetra_DataAccess CV() const
Returns the data access mode of the this vector.
long long * Values()
Returns pointer to the values in vector.
int Length() const
Returns length of vector.
int Size(int Length_in)
Set length of a Epetra_LongLongSerialDenseVector object; init values to zero.
const long long * Values() const
Returns const pointer to the values in vector.
std::string toString(const int &x) const
Epetra_LongLongSerialDenseVector: A class for constructing and using dense vectors.
int Random()
Set matrix values to random numbers.
long long & operator()(int Index)
Element access function.
int Shape(int NumRows, int NumCols)
Set dimensions of a Epetra_LongLongSerialDenseMatrix object; init values to zero. ...
int Reshape(int NumRows, int NumCols)
Reshape a Epetra_LongLongSerialDenseMatrix object.
Epetra_LongLongSerialDenseMatrix & operator=(const Epetra_LongLongSerialDenseMatrix &Source)
Copy from one matrix to another.
long long * operator[](int ColIndex)
Column access function.
long long & operator()(int RowIndex, int ColIndex)
Element access function.
virtual int ReportError(const std::string Message, int ErrorCode) const
Error reporting method.
virtual void Print(std::ostream &os) const
Print service methods; defines behavior of ostream << operator.
int Resize(int Length_in)
Resize a Epetra_LongLongSerialDenseVector object.
Epetra_LongLongSerialDenseMatrix: A class for constructing and using general dense integer matrices...