44 #ifndef EPETRA_LONGLONGSERIALDENSEVECTOR_H
45 #define EPETRA_LONGLONGSERIALDENSEVECTOR_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
59 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
171 using Epetra_LongLongSerialDenseMatrix::operator();
225 const long long*
Values()
const {
return(A_);};
241 virtual void Print(std::ostream& os)
const;
276 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
277 if(Index >=
M_ || Index < 0)
285 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
286 if(Index >=
M_ || Index < 0)
294 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
295 if(Index >=
M_ || Index < 0)
303 #ifdef HAVE_EPETRA_ARRAY_BOUNDS_CHECK
304 if(Index >=
M_ || Index < 0)
312 #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...